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

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

RE: postscript printing in emacs


From: Drew Adams
Subject: RE: postscript printing in emacs
Date: Thu, 20 Jun 2013 06:21:16 -0700 (PDT)

> > How do I incorporate this functionality in emacs so I could choose a
> > region or simply print the whole buffer using "postscript print from
> > buffer/region" from inside emacs?
> 
> Have you tried to set ps-lpr-command and ps-lpr-switches via the
> customisation interface?
> 
> In ps-lpr-command instead of lpr you can either use "mp | lp", a pipe, and
> the also set ps-lpr-switches to become "-l -s" or use as ps-lpr-command
> directly "mp -l -s | lp".
> 
> A third option is to add an mp filter to Solaris' lpfilters. Then you could
> use as ps-lpr-command "lp -T MP". I am not sure where the mp options go.
> (too long ago)
> 
> When you are experimenting with printing options you can stop printing from
> the particular queue (or switch off the printer) and then use a PostScript
> viewer to see what the printer queue would send to the printer.

See also library printing.el, which provides a helpful interface to the ps-* 
features.



reply via email to

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