From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Printing with emacs: Not working Date: Fri, 27 Feb 2009 17:58:49 +0200 Message-ID: References: <8dcb3b6f-ddbb-412a-a051-dd1624d960b2@r15g2000prh.googlegroups.com> <873ae0l938.fsf@bornier.net> <811ee316-f6ca-4b40-bd27-8b2ca2830001@j35g2000yqh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235750368 14433 80.91.229.12 (27 Feb 2009 15:59:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 15:59:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 17:00:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ld58c-00035f-2L for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 17:00:34 +0100 Original-Received: from localhost ([127.0.0.1]:40556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld57H-0000t2-8P for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 10:59:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld56w-0000su-JC for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 10:58:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld56v-0000rN-9p for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 10:58:49 -0500 Original-Received: from [199.232.76.173] (port=51984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld56v-0000rK-6M for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 10:58:49 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:44007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ld56u-00036d-Gj for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 10:58:48 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KFQ00J00EKNWB00@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 17:59:23 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.167.119]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KFQ00A7CF2YSXJ0@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 17:59:23 +0200 (IST) In-reply-to: <811ee316-f6ca-4b40-bd27-8b2ca2830001@j35g2000yqh.googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:62437 Archived-At: > From: rustom > Date: Fri, 27 Feb 2009 05:51:50 -0800 (PST) > > Well Setting up printing in windows from emacs can be an adventure > The settings that I have are these: > > (require 'printing) > (setq printer-name "//network/path/to/printer") > (setq ps-printer-name t) > (setenv "GS_LIB" "D:/Program Files/gs/gs8.63/lib") > (setq ps-lpr-command "D:/Program Files/gs/gs8.63/bin/gswin32c.exe") > (setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2")) These are all described in the Emacs manual, AFAICS, except perhaps the setenv part. Is it really needed? I don't know why you needed `(require 'printing)', I don't see how it could be necessary.