From: Reiner Steib <4uce.02.r.steib@gmx.net>
Subject: Re: lpr-switches and postscript printer question
Date: Thu, 05 Sep 2002 21:09:24 +0200 [thread overview]
Message-ID: <v9wuq0uucb.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 3D76B4E8.7000405@comcast.net
On Thu, Sep 05 2002, bob sullivan wrote:
> I'm using UNIX and emacs 19.34. How would I use (setq '(lpr-switches
> ... ) to print to a postscript printer using a particular font, say
> 6x13bold?
I don't remember how emacs 19.34 used to handle printing. Emacs 19.34
is at least 7 years old, so you (or your SysAdmin) should definitely
upgrade to 21.2!
But I have access to such an antique Emacs too. The help says:
,----
| print-buffer: an interactive autoloaded Lisp function.
|
| Print buffer contents as with Unix command `lpr -p'.
| `lpr-switches' is a list of extra switches (strings) to pass to lpr.
`----
If your system's printing system has such option(s) for lpr, you may
use (setq lpr-switches (list "-some" "-switch" "-here")). See the
man pages for lpr (or lp) on your system.
For modern Emacsen: I think you cannot modify the font with
lpr-switches because the printer just prints the PostScript file
generated by Emacs, nothing more. You have to modify the variables
defined in `ps-print.el'. You can (after loading `ps-print.el',
e.g. `M-x load-library ps-print RET') customize the variables easily:
`M-x customize-group ps-print RET'.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
next prev parent reply other threads:[~2002-09-05 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 1:35 lpr-switches and postscript printer question bob sullivan
2002-09-05 17:57 ` Kevin Rodgers
2002-09-05 19:09 ` Reiner Steib [this message]
2002-09-09 18:30 ` maierh
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=v9wuq0uucb.fsf@marauder.physik.uni-ulm.de \
--to=4uce.02.r.steib@gmx.net \
--cc=reiner.steib@gmx.de \
/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).