Date: Fri, 19 Jan 2001 11:54:53 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Dietmar DOT Segbert AT T-ONLINE DOT de (Dietmar Segbert) Message-Id: <2593-Fri19Jan2001115453+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <7u69w-76JVB@0256597511.t-online.de> (Dietmar DOT Segbert AT T-ONLINE DOT de) Subject: Re: Printer setup in EMACS 20 DOS? References: <7u69w-76JVB AT 0256597511 DOT t-online DOT de> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Dietmar DOT Segbert AT T-ONLINE DOT de (Dietmar Segbert) > Newsgroups: comp.os.msdos.djgpp > Date: 18 Jan 2001 17:45:00 +0100 > > who can help me? I want to setup my printers for EMACS 20 for DOS. What > must i do? Is it for regular printing commands, such as `lpr-buffer', or for PostScript pretty-printing commands, such as `ps-print-buffer-with-faces'? For the former, you don't need anything except setting the variable `printer-name' to "LPT2" whenever you use the printer connected to that port (the default for `printer-name' is "PRN", which usually goes to LPT1). For PostScript printing, you need to install Ghostscript, since as I understand, none of your printers have a buiilt-in PostScript support. Here's the relevant customization for using Ghostscript from my _emacs file (you can find the explanation of this in the node "MS-DOS Printing" in the on-line manual): (setq ps-printer-name t) (setq ps-lpr-command "d:/Aladdin/gs6.01/bin/gswin32c.exe") (setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2" "-sPAPERSIZE=a4" )) (setq lpr-headers-switches nil) Make sure you change ps-lpr-command above to the exact path to gswin32c.exe on your system, after you install Ghostscript.