[Top][All Lists]

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

Querying for a printer in Windows

From: Edward M. Reingold
Subject: Querying for a printer in Windows
Date: 17 May 2005 17:25:53 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

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: address@hidden
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.

reply via email to

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