unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gebser@ameritech.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: Setting lines to print per page....
Date: Wed, 22 Jan 2003 11:11:50 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0301221058180.9611-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <3E2D80F4.3080203@ihs.com>


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	other threads:[~2003-01-22 16:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 21:12 Setting lines to print per page simondo
2003-01-18 14:25 ` Kai Großjohann
2003-01-18 22:49   ` gebser
     [not found]   ` <mailman.539.1042930154.21513.help-gnu-emacs@gnu.org>
2003-01-19 14:18     ` Kai Großjohann
2003-01-21 17:18       ` Kevin Rodgers
2003-01-22 16:11         ` gebser [this message]
2003-01-22 17:27           ` Kai Großjohann
2003-01-27 15:35             ` gebser
2003-01-27 17:46               ` Kai Großjohann
2003-01-23 10:13     ` simondo

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=Pine.LNX.4.44.0301221058180.9611-100000@heidegger.mousecar.net \
    --to=gebser@ameritech.net \
    --cc=help-gnu-emacs@gnu.org \
    /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).