From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: Printing with emacs: Not working Date: Fri, 27 Feb 2009 23:38:03 -0800 (PST) Organization: http://groups.google.com Message-ID: <368c0710-121f-4a50-be0c-545d2f5a073d@r10g2000prf.googlegroups.com> 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 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235806851 31133 80.91.229.12 (28 Feb 2009 07:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2009 07:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 08:42:07 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 1LdJpk-0006Ps-4d for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 08:42:04 +0100 Original-Received: from localhost ([127.0.0.1]:52582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdJoP-0003CV-6L for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 02:40:41 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r10g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1235806683 16619 127.0.0.1 (28 Feb 2009 07:38:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 28 Feb 2009 07:38:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r10g2000prf.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 PT-PROXY1, 1.1 PT-PROXY2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167170 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:62471 Archived-At: On Feb 27, 8:58=A0pm, Eli Zaretskii wrote: > > 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=3Dmswinpr2")) > > These are all described in the Emacs manual, AFAICS, except perhaps > the setenv part. =A0Is it really needed? > > I don't know why you needed `(require 'printing)', I don't see how it > could be necessary. Strange! Yesterday I commented out the require line and the postscript print buffer(B+W) stopped working Today its again working with the line commented out. As for the GS_LIB -- got it from http://www.emacswiki.org/cgi-bin/wiki/Prin= tingFromEmacs but yes its also probably not needed (so much for the content of the wiki :-)