[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lpr-switches and postscript printer question
From: |
Reiner Steib |
Subject: |
Re: lpr-switches and postscript printer question |
Date: |
Thu, 05 Sep 2002 21:09:24 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) |
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/