From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: plain printing Date: 13 Jun 2003 03:44:36 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0306130244.65fc493a@posting.google.com> References: <87y908hnel.fsf@smtp.blueyonder.co.uk> <8465nc2zna.fsf@lucy.is.informatik.uni-duisburg.de> <87znkogwih.fsf@smtp.blueyonder.co.uk> <1a61f7e5.0306120032.caee3db@posting.google.com> <87of13halt.fsf@smtp.blueyonder.co.uk> <1a61f7e5.0306120737.59d440e8@posting.google.com> <877k7rs1ve.fsf@smtp.blueyonder.co.uk> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1055501293 13047 80.91.224.249 (13 Jun 2003 10:48:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 10:48:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 12:48:09 2003 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 19Qm5r-0003NL-00 for ; Fri, 13 Jun 2003 12:47:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Qm51-0000Vq-4t for gnu-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2003 06:46:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 212.135.40.163 Original-X-Trace: posting.google.com 1055501077 6281 127.0.0.1 (13 Jun 2003 10:44:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 13 Jun 2003 10:44:37 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:114429 Original-To: help-gnu-emacs@gnu.org 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:10922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10922 Keith O'Connell wrote in message news:<877k7rs1ve.fsf@smtp.blueyonder.co.uk>... > >>>>> "RT" == Rob Thorpe writes: > > RT> The exact command Emacs should give to print the file is:- > > RT> pr -F filename | lpr > > RT> Check what this does at the shell and check what lpr-buffer > RT> does in Emacs. If it doesn't produce the right result its > RT> still probably a print setup problem. You may have set the > RT> paper size to letter in your print setup where it should be > RT> A4. > > This is a little further forward as the pr -F filename | lpr also > pusehes out the spare page. I see that the pr -F option is designed to > do form feed, but this can't be what is meant, all these spare > pages. Am I right in assuming that the system page size is set in > /etc/papersize? If so it says a4. > > Any suggestions? /etc/papersize is advice to programs, it is not used by lpr itself. They all should obey it, but only some do (Emacs should but doesn't). Anyway, to fix. My version of pr says: -l PAGE_LENGTH, --length=PAGE_LENGTH set the page length to PAGE_LENGTH (66) lines (default number of lines of text 56, and with -F 63) So I'd adjust this variable in Emacs by customizing lpr-page-header-switches.