From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reingold@emr.cs.iit.edu (Edward M. Reingold) Newsgroups: gmane.emacs.help Subject: Querying for a printer in Windows Date: 17 May 2005 17:25:53 -0500 Organization: Illinois Institute of Technology Message-ID: <854qd1ij66.fsf@emr.cs.iit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116401081 4660 80.91.229.2 (18 May 2005 07:24:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 07:24:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 18 09:24:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYIuD-0002ic-6C for geh-help-gnu-emacs@m.gmane.org; Wed, 18 May 2005 09:23:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYIwa-0000Xb-Dl for geh-help-gnu-emacs@m.gmane.org; Wed, 18 May 2005 03:26:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!news.iit.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: emr.cs.iit.edu Original-X-Trace: condor2.cns.iit.edu 1116368756 24269 216.47.142.126 (17 May 2005 22:25:56 GMT) Original-X-Complaints-To: usenet@news.iit.edu Original-NNTP-Posting-Date: Tue, 17 May 2005 22:25:56 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:131330 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26785 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.