unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pjacklam@online.no (Peter J. Acklam)
Subject: Re: network printing on an Win2k network.
Date: Tue, 08 Apr 2003 20:15:57 +0200	[thread overview]
Message-ID: <r88c97oi.fsf@online.no> (raw)
In-Reply-To: mailman.4255.1049771971.21513.help-gnu-emacs@gnu.org

"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.

  parent reply	other threads:[~2003-04-08 18:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 18:25 network printing on an Win2k network Robert Correllus
2003-04-08  4:18 ` Eli Zaretskii
     [not found] ` <mailman.4255.1049771971.21513.help-gnu-emacs@gnu.org>
2003-04-08 18:15   ` Peter J. Acklam [this message]
2003-04-09 10:07     ` Harald Joerg
     [not found] <mailman.4219.1049740066.21513.help-gnu-emacs@gnu.org>
2003-04-08  0:26 ` Data64

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=r88c97oi.fsf@online.no \
    --to=pjacklam@online.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).