unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ps-print using PDFCreator on WinXP
@ 2012-08-23 15:34 Carson Chittom
  0 siblings, 0 replies; only message in thread
From: Carson Chittom @ 2012-08-23 15:34 UTC (permalink / raw)
  To: help-gnu-emacs

I've used Emacs for a while now, but I'm still very inexperienced when
it comes to direct customizations, and I'm not a programmer.  With that
said: I'm using Emacs 24 on Windows XP, and I'm attempting to use
PDFCreator with ps-print.  I'm on a work computer I don't control, so I
can't install additional software (like Cygwin[1] or a standalone
Ghostscript[2]).

By putting in .emacs

(setq ps-printer-name t)
(setq ps-lpr-command "C:/Program Files/PDFCreator/PDFCreator.exe")

I can get the PDFCreator window to popup, but I can't seem to find the
right thing to put as ps-lpr-switches.  PDFCreator wants the filename
passed to it on the command line as /if"C:\Filename.txt"  I'm guessing
that I need to somehow update the value of ps-lpr-switches to include
the current value of buffer-file-name as I switch to each buffer, but I
have no idea how to go about that.  Can somebody point me in the right
direction, or tell me a better way to go about it?

[1] http://www.emacswiki.org/emacs/PrintingFromEmacs#toc5
[2] http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Printing.html#Windows-Printing


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-23 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 15:34 ps-print using PDFCreator on WinXP Carson Chittom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).