help-emacs-windows
[Top][All Lists]
Advanced

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

RE: [h-e-w] Printing in 21.2


From: Handsfield, James H.
Subject: RE: [h-e-w] Printing in 21.2
Date: Tue, 30 Apr 2002 11:34:34 -0400

> -----Original Message-----
Jeff Rancier [mailto:address@hidden wrote:

> Hi All.  I switched from 20.7 to 21.2 on Windows 2000 
> yesterday.  I can
> select File->Print Buffer, and that works fine.  I can't seem 
> to get any of
> the post-script items to print anything.  The only thing I 
> set in my .emacs
> is the following (which worked fine in 20.7):

I had difficulty when our Powers-That-Be switched our LAN printing protocols
to tcp/ip.  The solution was to direct ps printing through GhostScript.
This is what I have in my .emacs:

;; Use GhostScript to PostScript print files
(setenv "GS_LIB" "c:\\gs\\gs7.00;c:\\gs\\fonts")
(setq ps-lpr-command "c:/gs/gs7.00/bin/gswin32c")
(setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))
(setq ps-printer-name t)

Obviously, you would have to adjust this to point to the specifics of
wherever GhostScript is located, but it works for me.

James Handsfield, PhD, MPH
Statistician
Division of Laboratory Systems
Public Health Practice Program Office
Centers for Disease Control & Prevention
address@hidden / (770)488-8106



reply via email to

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