help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting lines to print per page....


From: gebser
Subject: Re: Setting lines to print per page....
Date: Wed, 22 Jan 2003 11:11:50 -0500 (EST)

Well, it was working pretty good until this morning when I tried using 
"Help > Customize > Top Level... > Wp > Lpr" to change things.  Either 
I'm dense or those menus need a little sprucing up.

If, from the commandline, I do:

lp -o cpi=12 -o prettyprint -o page-left=72 -o page-top=72 -o \
page-right=72 -o page-bottom=72 filename

(note the use of "lp" rather than "lpr"-- a CUPS thing), I get an 
absolutely beautifully printed document.  It would make Mom proud.  But 
I haven't been able to figure out how to put this into the verdammt 
Customize menu puzzle.

Hopefully some gleaming elisp maven here can provide the code for .emacs 
which would properly set the couple variables to produce what my 
commandline does.  Please?


tia,
ken

Kevin Rodgers at 10:18 (UTC-0700) on Tue, 21 Jan 2003 said:

= Kai Großjohann wrote:
= 
= > gebser@ameritech.net writes:
= > 
= > 
= >>(custom-set-variables
= >> '(lpr-page-header-program "pr --page-width=84 --indent=5"))
= >>
= > 
= > Does this really work?  Under Unix, it will try to call a program
= > that has a longish name including spaces and equals signs...  At
= > least that's what I think.
= 
= Yeah, that should probably be
= 
= (setq lpr-page-header-switches '("-page-width=84" "--indent=5"))
= 
= 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]