[Top][All Lists]

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

Re: Printing with emacs: Not working

From: rustom
Subject: Re: Printing with emacs: Not working
Date: Fri, 27 Feb 2009 05:51:50 -0800 (PST)
User-agent: G2/1.0

On Feb 27, 3:37 pm, Eli Zaretskii <address@hidden> wrote:
> > Date: Fri, 27 Feb 2009 09:40:21 +0100
> > From: Lennart Borgman <address@hidden>
> > Cc: address@hidden
> > > You have to set the value of "printer-name"
> > That does not necessarily help.
> But does not necessarily fail, either.  No 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=mswinpr2"))

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

reply via email to

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