From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@ameritech.net Newsgroups: gmane.emacs.help Subject: Re: Setting lines to print per page.... Date: Wed, 22 Jan 2003 11:11:50 -0500 (EST) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84el7a5yd1.fsf@lucy.is.informatik.uni-duisburg.de> <3E2D80F4.3080203@ihs.com> Reply-To: gebser@ameritech.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1043251945 30894 80.91.224.249 (22 Jan 2003 16:12:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2003 16:12:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 18bNUF-000821-00 for ; Wed, 22 Jan 2003 17:12:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bNUY-0007tq-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2003 11:12:42 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18bNTm-0007C0-00 for help-gnu-emacs@gnu.org; Wed, 22 Jan 2003 11:11:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18bNTf-0006v3-00 for help-gnu-emacs@gnu.org; Wed, 22 Jan 2003 11:11:50 -0500 Original-Received: from mailhost2-bcvloh.bcvloh.ameritech.net ([66.73.20.44] helo=mailhost.bcv2.ameritech.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bNSo-0005kd-00 for help-gnu-emacs@gnu.org; Wed, 22 Jan 2003 11:10:54 -0500 Original-Received: from mailhost.bcv2.ameritech.net by mailhost.bcv2.ameritech.net convert rfc822-to-8bit; Wed, 22 Jan 2003 11:10:50 -0500 Original-Received: from heidegger.mousecar.net ([65.43.217.8]) by mailhost.bcv2.ameritech.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP <20030122161049.TLB16631.mailhost.bcv2.ameritech.net@heidegger.mousecar.net>; Wed, 22 Jan 2003 11:10:49 -0500 Original-Newsgroups: gnu.emacs.help Original-To: Kevin Rodgers In-Reply-To: <3E2D80F4.3080203@ihs.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5868 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5868 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=3D12 -o prettyprint -o page-left=3D72 -o page-top=3D72 -o \ page-right=3D72 -o page-bottom=3D72 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: =3D Kai Gro=DFjohann wrote: =3D = =3D > gebser@ameritech.net writes: =3D > = =3D > = =3D >>(custom-set-variables =3D >> '(lpr-page-header-program "pr --page-width=3D84 --indent=3D5")) =3D >> =3D > = =3D > Does this really work? Under Unix, it will try to call a program =3D > that has a longish name including spaces and equals signs... At =3D > least that's what I think. =3D = =3D Yeah, that should probably be =3D = =3D (setq lpr-page-header-switches '("-page-width=3D84" "--indent=3D5")) =3D = =3D =