From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.help Subject: Re: Adjusting page length in "Print buffer" command Date: Mon, 17 Jan 2005 18:30:33 -0600 Organization: ipHouse Message-ID: References: <85oefrhmt0.fsf@obelix.seki.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106008390 18892 80.91.229.6 (18 Jan 2005 00:33:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 00:33:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 18 01:33:04 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 1CqhIu-0006qe-00 for ; Tue, 18 Jan 2005 01:33:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqhUm-0000fv-EB for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Jan 2005 19:45:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!chiapp19.algx.com!allegiance!news-out.visi.com!spool-3.news.visi.com!green.octanews.net!news-out.octanews.net!beige.iphouse.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:5XRuNrYeZgJjT7u4HxzF3RFqPVg= Original-Lines: 39 Original-NNTP-Posting-Date: 17 Jan 2005 18:30:34 CST Original-X-Complaints-To: abuse@iphouse.net Original-Xref: shelby.stanford.edu gnu.emacs.help:127951 Original-To: help-gnu-emacs@gnu.org 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:23439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23439 Peter Dyballa writes: > 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 Thank you, I'll give that a try.