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 05:51:50 -0800 (PST) Organization: http://groups.google.com Message-ID: <811ee316-f6ca-4b40-bd27-8b2ca2830001@j35g2000yqh.googlegroups.com> References: <8dcb3b6f-ddbb-412a-a051-dd1624d960b2@r15g2000prh.googlegroups.com> <873ae0l938.fsf@bornier.net> 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 1235745684 23057 80.91.229.12 (27 Feb 2009 14:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 14:41:24 +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 15:42:40 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 1Ld3ul-0003QC-R1 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 15:42:12 +0100 Original-Received: from localhost ([127.0.0.1]:44793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld3tQ-0005bH-Jp for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 09:40:48 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j35g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1235742710 6767 127.0.0.1 (27 Feb 2009 13:51:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 27 Feb 2009 13:51:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j35g2000yqh.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:167136 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:62431 Archived-At: On Feb 27, 3:37=A0pm, Eli Zaretskii wrote: > > Date: Fri, 27 Feb 2009 09:40:21 +0100 > > From: Lennart Borgman > > Cc: help-gnu-em...@gnu.org > > > > You have to set the value of "printer-name" > > > That does not necessarily help. > > But does not necessarily fail, either. =A0No need to discourage a fellow > Emacs users before they even tried. 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")) and it seems to work (remember to modify your gs paths and network (or otherwise) printer paths suitably) The stuff associated with the require 'printing was completely confusing to me and this worked only when I gave up on that. But this (at least the ps-(B/W printing) only works with that included