Skip to content

Printing from Emacs on Windows

I’m a Emacs guy and this is how I got it printing on on of my Windows boxes (XP SP2) where I already had Cygwin.

1. Install PDF Creator.

2. Update .emacs file with the following:
(setenv "PRINTER" "PDFCreator")
(setq ps-printer-name "PDFCreator")
(setq ps-printer-name-option "-d")
(setq ps-lpr-command "/cygwin/bin/lpr")

3. Print into a PDF file with ps-print-buffer and then to any printer (or not at all).

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

Soft & Virt is Digg proof thanks to caching by WP Super Cache