help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing permissions problem under Win7


From: rusi
Subject: Re: Printing permissions problem under Win7
Date: Wed, 29 Dec 2010 01:24:57 -0800 (PST)
User-agent: G2/1.0

On Dec 28, 11:10 pm, Scott Meyers <NeverR...@aristeia.com> 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/Windows-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
>
>    \\\\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=mswinpr2"))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]