[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: postscript printing in emacs
From: |
Rami A |
Subject: |
Re: postscript printing in emacs |
Date: |
Fri, 21 Jun 2013 09:30:34 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Thursday, June 20, 2013 2:40:59 AM UTC-7, Peter Dyballa wrote:
> Am 20.06.2013 um 01:46 schrieb Rami A:
>
>
>
> > 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.
>
>
>
> --
>
> Greetings
>
>
>
> Pete
>
>
>
> Perl—the only language that looks the same before and after RSA encryption.
>
> - Keith Bostic
Thanks Pete,
I did follow your suggestions:
(setq ps-lpr-command "mp | lp")
(setq ps-lpr-switches '("-l" " -s"))
But when trying to print I get this message:
Searching for program: No such file or directory, mp | lp
It is possible that ps-lpr-command expects the path of the printing program,
not a command.
- postscript printing in emacs, Rami A, 2013/06/19
- Re: postscript printing in emacs, Peter Dyballa, 2013/06/20
- Message not available
- Re: postscript printing in emacs,
Rami A <=
- Re: postscript printing in emacs, Peter Dyballa, 2013/06/21
- Message not available
- Re: postscript printing in emacs, Rami A, 2013/06/21
- Re: postscript printing in emacs, Peter Dyballa, 2013/06/21
- Message not available
- Re: postscript printing in emacs, Rami A, 2013/06/21
- Re: postscript printing in emacs, Peter Dyballa, 2013/06/21