-----Original Message----- From: Eli Zaretskii [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 5:44 PM To: Warren Crews Cc: help-emacs-windows@gnu.org Subject: Re: [h-e-w] Printing -- again
> From: "Warren Crews" <[EMAIL PROTECTED]> > Date: Mon, 24 Mar 2008 16:32:39 -0500 > > ;; Setup Ghostscript 8.61 as the postscript printer > > (setenv "GS_LIB" "e:\\Tools\\gs\\gs8.61;e:\\Tools\\gs\\fonts") > > (setq ps-lpr-command "e:/Tools/gs/gs8.61/bin/gswin32c") > > (setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2")) > > (setq ps-printer-name t) > > > > When I attempt to print there is no error message and no print - nothing. What happens if you just run gswin32c from the command line with the above switches: set GS_LIB=e:\Tools\gs\gs8.61;e:\Tools\gs\fonts e:\Tools\gs\gs8.61\bin\gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=mswinpr2 foo.ps where foo.ps is some PostScript file? Does it work then? No it did not work from the command line. The file gs-init.ps was not found. Adding \lib to the definition of GS_LIB did the trick. A similar modification to my .emacs file and a successful print from emacs. The structure of the gs distribution evolved a bit from the release 5.50 cited in the FAQ. Thanks Warren