[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] Printing -- again

From: Warren Crews
Subject: RE: [h-e-w] Printing -- again
Date: Tue, 25 Mar 2008 12:00:30 -0500

-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden 
Sent: Monday, March 24, 2008 5:44 PM
To: Warren Crews
Cc: address@hidden
Subject: Re: [h-e-w] Printing -- again

> From: "Warren Crews" <address@hidden>
> 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

where is some PostScript file?  Does it work then?

No it did not work from the command line. The file 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]