From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Adjusting page length in "Print buffer" command Date: Mon, 17 Jan 2005 12:38:52 +0100 Message-ID: <5C8AD705-687C-11D9-B7A1-000D932A32C4@Web.DE> References: <85oefrhmt0.fsf@obelix.seki.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105965633 5903 80.91.229.6 (17 Jan 2005 12:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2005 12:40:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 17 13:40:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqWBH-0001LP-00 for ; Mon, 17 Jan 2005 13:40:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqWN8-0001SC-7n for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Jan 2005 07:52:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqWMh-0001Lr-UW for help-gnu-emacs@gnu.org; Mon, 17 Jan 2005 07:52:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqWMe-0001JI-Fs for help-gnu-emacs@gnu.org; Mon, 17 Jan 2005 07:52:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqWMe-0001I9-9l for help-gnu-emacs@gnu.org; Mon, 17 Jan 2005 07:52:12 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CqW8Y-0007pf-So for help-gnu-emacs@gnu.org; Mon, 17 Jan 2005 07:37:39 -0500 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by mx20.gnu.org with esmtp (Exim 4.34) id 1CqVxn-0007fq-NT for help-gnu-emacs@gnu.org; Mon, 17 Jan 2005 07:26:31 -0500 Original-Received: from [80.184.166.105] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.103 #184) id 1CqVxj-0006Cf-00; Mon, 17 Jan 2005 13:26:27 +0100 In-Reply-To: Original-To: Tim McNamara X-Mailer: Apple Mail (2.619) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23415 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23415 Am 17.01.2005 um 07:04 schrieb Tim McNamara: > So my best guess is that, if I want to change the number of lines per > page I would enter something like (assuming the parentheses are > necessary): > > ("-l" "50") > > to invoke "pr" with the "-l" flag, specifying 50 lines per page? No, the parentheses and quotation marks are too much. In the customization buffer make it look like this: Lpr Page Header Switches: [Hide Value] [INS] [DEL] String: -F -l 50 -w 60 [INS] [State]: this option has been set and saved. So a page would have 50 line and each one would have up to 50 characters. Then a form-feed (^L) would be inserted to go to the enxt page. Converting it to PostScript would convert it to corresponding PS commands. After you made the changes don't forget to save it least for this session. That's the moment to try it. If works you should save it for future sessions too, if not you have to iterate the settings for the # of lines and characters per line. Once the values are saved you can visit them in .emacs in the custom-set-variables section. There you would see '(lpr-page-header-switches (quote ("-F -l 50 -w 60"))) '(ps-paper-type "a4") ^ | should better be letter or such non-ISO value -- Greetings Pete "A lot of people mistake a short memory for a clear conscience." Doug Larson