From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Installer for MS Windows Date: Fri, 27 Aug 2004 00:17:31 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <007801c48bba$80b4d890$0200a8c0@sedrcw11488> References: <001401c478de$908a92d0$0200a8c0@sedrcw11488> <1091508072.20683.201576204@webmail.messagingengine.com> <4111491A.4090601@runestig.com> <4111D8D4.1040506@runestig.com> <1091693906.8538.201741376@webmail.messagingengine.com> <001d01c47afa$c1f5f170$0200a8c0@sedrcw11488> <003e01c48946$a8ebfad0$0200a8c0@sedrcw11488> <011201c48a06$469eb6e0$0200a8c0@sedrcw11488> <016f01c48a10$f6081090$0200a8c0@sedrcw11488> <001801c48a37$995d27f0$0200a8c0@sedrcw11488> <01c48a5a$Blat.v2.2.2$412bdd60@zahav.net.il> <412DFF1B.9010603@ig.com.br> <16686.4094.173795.914606@tron.eng.it> <004001c48b8d$f622ec70$0200a8c0@sedrcw11488> <412E20A5.3050407@ig.com.br> <000d01c48b9c$763a5570$0200a8c0@sedrcw11488> Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0SYm-0004Vo-00 for ; Fri, 27 Aug 2004 00:17:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0SdP-0003l7-Ov for ged-emacs-devel@m.gmane.org; Thu, 26 Aug 2004 18:22:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0SdJ-0003l0-1W for emacs-devel@gnu.org; Thu, 26 Aug 2004 18:22:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0SdH-0003ko-Dj for emacs-devel@gnu.org; Thu, 26 Aug 2004 18:22:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0SdH-0003kl-8v for emacs-devel@gnu.org; Thu, 26 Aug 2004 18:22:11 -0400 Original-Received: from [81.228.9.113] (helo=av5-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C0SYE-0003Mf-Ie for emacs-devel@gnu.org; Thu, 26 Aug 2004 18:16:59 -0400 Original-Received: by av5-1-sn3.vrr.skanova.net (Postfix, from userid 502) id D0FD637ED3; Fri, 27 Aug 2004 00:16:57 +0200 (CEST) Original-Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av5-1-sn3.vrr.skanova.net (Postfix) with ESMTP id C31A937E43; Fri, 27 Aug 2004 00:16:57 +0200 (CEST) Original-Received: from sedrcw11488 (t1o58p197.telia.com [62.20.164.197]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with SMTP id 9BE8A38002; Fri, 27 Aug 2004 00:16:56 +0200 (CEST) Original-To: "Benjamin Riefenstahl" , "Emacs Devel" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26544 ----- Original Message ----- From: "Benjamin Riefenstahl" > printer device. The printer driver is a plugin DLL for the Windows > graphics API, the so-called "GDI". Word (or Notepad or Mozilla) is Thank you for the good descriptions. > If you want OOTB printing for Emacs on Windows for any printer, you > need either bundle (and automatically configure) Ghostscript, or you > need to write a third printing implementation similar to ps-print.el > that uses GDI calls. The first solution is larger, but much easier to > implement and automatically compatible with code that builds on top of > ps-print.el. Given that disk space and bandwidth is cheap these days > and that Ghostscript is free, it may be the way to go. I think using colored printing the way I suggested earlier is often good enough. The advantage it has is that it is very simple. (Of course it is not very elegant, but it is existing.) It is also a solution that probably can be made portable since printing a html file is certainly a thing I guess can be done on most main operating systems. It is in this way an interface to the operating system for printing that is stable. That should be a main concern I believe. > This could be part of the Windows installer. You may want to download > Ghostscript as an automated step during installation and only, when it > is not already installed. I.e. make a customization option in the > installer to either download Ghostscript or pick an existing > installation or to do neither (that option would only be available at > "expert" level, I guess). I will try. Please tell me which Ghostscript to use. - Lennart