From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: Printing permissions problem under Win7 Date: Wed, 29 Dec 2010 01:24:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <965ac985-c91e-45d7-a00a-626cf90945e7@35g2000prt.googlegroups.com> References: 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: dough.gmane.org 1293615746 29809 80.91.229.12 (29 Dec 2010 09:42:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2010 09:42:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 29 10:42:16 2010 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.69) (envelope-from ) id 1PXsXv-000614-GD for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 10:42:15 +0100 Original-Received: from localhost ([127.0.0.1]:53560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXsXu-0008Ih-LO for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 04:42:14 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!35g2000prt.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1293614745 20080 127.0.0.1 (29 Dec 2010 09:25:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 29 Dec 2010 09:25:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 35g2000prt.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183726 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:77949 Archived-At: On Dec 28, 11:10=A0pm, Scott Meyers wrote: > On 12/28/2010 10:00 AM, Deniz Dogan wrote: > > > I'm probably mistaken but shouldn't that be \\Patroklos\...? > > According tohttp://www.gnu.org/software/emacs/manual/html_node/emacs/Wind= ows-Prin..., > > > You can also use a printer shared by another machine by setting > > printer-name to the UNC share name for that printer for example, > > "//joes_pc/hp4si". (It doesn't matter whether you use forward slashes > > or backslashes here.) > > Also, if you go the backslash route, you have to quote the backslashes, > yielding something like > > =A0 =A0\\\\Patroklos\\... > > I tried it :-) > > Any other suggestions? > > Scott Ive not used a network printer with emacs23 and windows But this is elisp setup when I used it with 22 (printer-name is probably redundant) Basically it prints through ghostscript which needs to be available of course (require 'printing) (setq printer-name "//path/to/networkPrinter") (setq ps-printer-name t) (setenv "GS_LIB" "C:/Program Files/gs/gs8.63/lib") (setq ps-lpr-command "C:/Program Files/gs/gs8.63/bin/gswin32c.exe") (setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=3Dmswinpr2"))