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

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

Re: network printing on an Win2k network.


From: Peter J. Acklam
Subject: Re: network printing on an Win2k network.
Date: Tue, 08 Apr 2003 20:15:57 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (windows-nt)

"Eli Zaretskii" <eliz@elta.co.il> wrote:

> The manual does (see the section "MS-DOS Printing"): use the "net
> use" command to map the networked printer to a printer port such as
> LPT3, then set ps-printer-name to that port's name.

I use this on Windows XP and it works perfectly ("HOST" and
"Printer" must be set appropriately)

      (setq-default ps-lpr-command "print")
      (setq-default ps-printer-name "\\\\HOST\\Printer")
      (setq-default ps-printer-name-option "/D:")
      (setq-default ps-lpr-switches nil)
      (setq-default ps-spool-config nil)

With Ghostscript installed one can get the usual Windows printer
dialog thing with

      (setq-default ps-lpr-command "gsprint.exe")
      (setq-default ps-printer-name t)
      (setq-default ps-printer-name-option nil)
      (setq ps-lpr-switches '("-query")) ; show printer dialog

Peter

-- 
I wish dialog boxes had a butten saying "Whatever".  I hate being
forced to answer "Yes" or "No" to a question I have no opinion on
whatsoever.  There ought to be a button matching my indifference.


reply via email to

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