From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: printing format (more specific!) Date: Fri, 10 May 2002 14:30:46 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F501FB4A5D@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1021059424 22104 127.0.0.1 (10 May 2002 19:37:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 May 2002 19:37:04 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 176GCO-0005kP-00 for ; Fri, 10 May 2002 21:37:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176G8Y-0005Ui-00; Fri, 10 May 2002 15:33:06 -0400 Original-Received: from zcamail05.zca.compaq.com ([161.114.32.105]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176G6J-0005Hw-00 for ; Fri, 10 May 2002 15:30:48 -0400 Original-Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.105.250.84]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 3ECD34DEE for ; Fri, 10 May 2002 12:38:13 -0700 (PDT) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Fri, 10 May 2002 12:30:46 -0700 content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: printing format (more specific!) Thread-Index: AcH4UOVhTTbXf/WkR2uoO3KqRzrvRAABjeYg Original-To: X-OriginalArrivalTime: 10 May 2002 19:30:46.0968 (UTC) FILETIME=[2F22EB80:01C1F859] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:274 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:274 Ha, You have confirmed what I suspected. The menu item that you are using invokes the function print-buffer. = This function was designed to print documents that contained no = formatting to form feed printers. So rather than just print your = document it attempts to paginate it and probably to add a header to the = page as well. Here is what the function description says: Paginate and print buffer contents. The variable `lpr-headers-switches' controls how to paginate. If it is nil (the default), we run the `pr' program (or whatever program `lpr-page-header-program' specifies) to paginate. `lpr-page-header-switches' specifies the switches for that program. Otherwise, the switches in `lpr-headers-switches' are used in the print command itself; we expect them to request pagination. =20 See the variables `lpr-switches' and `lpr-command' for further customization of the printer command. If your document already has form feeds in it then what you describe = will happen because print-buffer will add another one where it thinks it = should. Personally I do not use print-buffer for that very reason. I use = ps-print-buffer (postscript) because I have printers that understand = postscript here at work. Hope this helps. -_ J_) C_)ingham . HP - NonStop Enterprise Division - Software Product Assurance . Office: 2166 Phone: 8945 . Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire. -Dr. George W. = Crane- -----Original Message----- From: ha nguyen [mailto:interha@hotmail.com]=20 Sent: Friday, 10 May, 2002 1:31 p To: Bingham, Jay Cc: help-gnu-emacs@gnu.org Subject: RE: printing format (more specific!) Hi, Sorry for the non-specific quesions. I'll be more specific now. ------------ My printing page format is so bizarre! >If I print a document, I always have two or three extra lines in one >seperate page. For ex, If I have two pages to print, I'll have the=20 >following outputs: >- the first page is full >- the second only have two or three lines >- the third is full >- and the fourth also have two or three lines. >While if it produces normally, I should have two pages only. > ------------ I have never set the printing command in Emacs. It is by default since = my=20 installation of Linux. When I print, I do "Tool", "Print" "Print buffer". I do not know how to = use=20 command to print from the terminal. I have the Epson Stylus Scan 2500 printer. I have no problem printing in = Windows. Thanks a lot for your responses. Ha >From: "Bingham, Jay" >To: >Subject: RE: printing format >Date: Fri, 10 May 2002 08:55:23 -0500 > >Ha, > >You did not say which command you are using to print, nor did say what = type=20 >of printer you are trying to print to, nor how you have your = lpr-command=20 >variable set to. All of this information will be extremely useful=20 >information to those who are trying to answer your question since there = is=20 >more than one way to print in emacs and several variables that can = affect=20 >the outcome. > >-_ >J_) >C_)ingham >. HP - NonStop Enterprise Division - Software Product Assurance >. Austin, TX >. Language is the apparel in which your thoughts parade in public. >. Never clothe them in vulgar and shoddy attire. -Dr. George = W.=20 >Crane- > > -----Original Message----- >From: ha nguyen [mailto:interha@hotmail.com] >Sent: Friday, 10 May, 2002 6:12 a >To: help-gnu-emacs@gnu.org >Subject: printing format > >Hello, My printing page format is so bizarre! >If I print a document, I always have two or three extra lines in one >seperate page. For ex, If I have two pages to print, I'll have the=20 >following >outcomes: >- the first page is full >- the second only have two or three lines >- the third is full >- and the fourth also have two or three lines. >While if it produces normally, I should have two pages only. > >Do you know how to correct it?> > > > >Thanks for your help. > >Regards, > >Ha > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >_______________________________________________ >Help-gnu-emacs mailing list >Help-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/help-gnu-emacs > > >_______________________________________________ >Help-gnu-emacs mailing list >Help-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/help-gnu-emacs _________________________________________________________________ Get your FREE download of MSN Explorer at = http://explorer.msn.com/intl.asp.