all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lpr-switches and postscript printer question
@ 2002-09-05  1:35 bob sullivan
  2002-09-05 17:57 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bob sullivan @ 2002-09-05  1:35 UTC (permalink / raw)


Hi, everyone. 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?

Thanks in advance for the help,
bob sullivan
bsullivn@comcast.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lpr-switches and postscript printer question
  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
  2002-09-09 18:30 ` maierh
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2002-09-05 17:57 UTC (permalink / raw)


bob sullivan wrote:

> Hi, everyone. 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 know.  lpr-command is probably either "lp" or "lpr", and I

don't understand how to use the options to those commands that might
affect the font (-S character_set and -1 font, respectively).


I think if you edit the file in that particular face with `M-x
set-default-font RET 6x13bold RET' and then print it with `M-x
ps-print-buffer-with-faces RET', you'll get what you want.


-- 
Kevin Rodgers <kevinr@ihs.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lpr-switches and postscript printer question
  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
  2002-09-09 18:30 ` maierh
  2 siblings, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2002-09-05 19:09 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lpr-switches and postscript printer question
  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
@ 2002-09-09 18:30 ` maierh
  2 siblings, 0 replies; 4+ messages in thread
From: maierh @ 2002-09-09 18:30 UTC (permalink / raw)


bob sullivan <bsullivn@comcast.net> writes:

> Hi, everyone. 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?

As far as I know emacs-19.34 uses also ps-print-buffer and
ps-print-region, so the lpr switches are not necessary.

Harald

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-09 18:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-09-09 18:30 ` maierh

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.