From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Rami A <rami.ammari@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: postscript printing in emacs
Date: Thu, 20 Jun 2013 11:40:59 +0200 [thread overview]
Message-ID: <EA64C306-38EC-43AE-BF54-7326E55850DB@Web.DE> (raw)
In-Reply-To: <34388c9b-86fc-4f47-9a7b-1601f10c8ac0@googlegroups.com>
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
next prev parent reply other threads:[~2013-06-20 9:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 23:46 postscript printing in emacs Rami A
2013-06-20 9:40 ` Peter Dyballa [this message]
2013-06-20 13:21 ` Drew Adams
[not found] ` <mailman.2067.1371721274.22516.help-gnu-emacs@gnu.org>
2013-06-21 16:30 ` Rami A
2013-06-21 19:13 ` Peter Dyballa
[not found] ` <mailman.2158.1371842037.22516.help-gnu-emacs@gnu.org>
2013-06-21 19:58 ` Rami A
2013-06-21 20:21 ` Peter Dyballa
[not found] ` <mailman.2164.1371846141.22516.help-gnu-emacs@gnu.org>
2013-06-21 21:16 ` Rami A
2013-06-21 21:49 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EA64C306-38EC-43AE-BF54-7326E55850DB@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=rami.ammari@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).