From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reiner Steib <4uce.02.r.steib@gmx.net> Newsgroups: gmane.emacs.help Subject: Re: lpr-switches and postscript printer question Date: Thu, 05 Sep 2002 21:09:24 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3D76B4E8.7000405@comcast.net> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031253875 28001 127.0.0.1 (5 Sep 2002 19:24:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 19:24:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17n2F0-0007HV-00 for ; Thu, 05 Sep 2002 21:24:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17n2GX-0007vF-00; Thu, 05 Sep 2002 15:26:09 -0400 Original-Newsgroups: gnu.emacs.help X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Original-Lines: 35 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) Cancel-Lock: sha1:7Dpe5fe6TklLcV4wF/5u/+fX7TM= Original-NNTP-Posting-Host: theotp5.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1031253010 theotp5.physik.uni-ulm.de (5 Sep 2002 21:10:10 +0200) Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-ulm.de!theotp5.physik.uni-ulm.de!nobody Original-Xref: nntp.stanford.edu gnu.emacs.help:104513 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1072 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1072 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/