help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting lines to print per page....


From: gebser
Subject: Re: Setting lines to print per page....
Date: Sat, 18 Jan 2003 17:49:14 -0500 (EST)

Put this in your .emacs:

(custom-set-variables
 '(lpr-page-header-program "pr --page-width=84 --indent=5"))

Depending on the size of the characters you configured and what size
margins you want, you may need to adjust the numbers.  

Do "man pr" for more options to include above within the quotes (").


hth,
ken

Kai Großjohann at 15:25 (UTC+0100) on Sat, 18 Jan 2003 said:

= "simondo" <simondo@paradise.com.mz> writes:
= 
= > I'm using emacs as an interface for querying MySQL databases, and want to
= > print out the result sets.  But no matter what I set the characters/inch
= > in the X Printing Panel, the same number of lines are printed per page. 
= > The characters are smaller, there's just more space at the end of the
= > page.  This isn't using the ps pretty printing option of emacs btw.  I've
= > waded through a sea of documentation and goggled, but I'm new to emacs so
= > it's all very unfamiliar and gets confusing fast.  I think it's printing
= > through lpr and then cups if that's any help.
= 
= I think that print-buffer might print via lpr-page-header-program.  I
= think that lpr-buffer doesn't do that.
= 
= So does it help to say M-x lpr-buffer RET?
= 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]