From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: pjacklam@online.no (Peter J. Acklam) Newsgroups: gmane.emacs.help Subject: Re: network printing on an Win2k network. Date: Tue, 08 Apr 2003 20:15:57 +0200 Organization: Private Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <000001c2fd33$0b7a5080$e508e1a7@CORREROPC> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049825860 18503 80.91.224.249 (8 Apr 2003 18:17:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 18:17:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 20:17:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192xef-0004nC-00 for ; Tue, 08 Apr 2003 20:17:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192xds-0002hI-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2003 14:16:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:tVYT+SthaPd5ESBha5lEgHQzx8c= Original-Lines: 29 Original-NNTP-Posting-Host: 130.67.224.230 Original-X-Complaints-To: news-abuse@telenor.net Original-NNTP-Posting-Date: Tue, 08 Apr 2003 20:14:57 MEST Original-X-Trace: news2.ulv.nextra.no 1049825697 130.67.224.230 Original-Xref: shelby.stanford.edu gnu.emacs.help:111793 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8292 "Eli Zaretskii" 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.