unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Querying for a printer in Windows
@ 2005-05-17 22:25 Edward M. Reingold
  0 siblings, 0 replies; only message in thread
From: Edward M. Reingold @ 2005-05-17 22:25 UTC (permalink / raw)


I have the following in my .emacs:

  (setq printer-name "PRN")
  (setq lpr-headers-switches nil)

  (setenv "GS_LIB" "c:\\gs\gs8.11;c:\\gs\\fonts")
  (setq ps-lpr-command "c:\\gs\\gs8.11\\bin\\gswin32c")
  (setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))
  (setq ps-printer-name t)
  (setq ps-print-header nil)

So that when I Postscript print a buffer I am queried (with the usual Windows
popup window) which printer I want to use.  But when I am just printing
(non-Postscript), it uses the default printer.

How do I set things up so that I am queried in non-Postscript printing?

-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Chairman, Department of Computer Science    Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-17 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-17 22:25 Querying for a printer in Windows Edward M. Reingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).