From: gebser@ameritech.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: Setting lines to print per page....
Date: Sat, 18 Jan 2003 17:49:14 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0301181731190.9611-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <84el7a5yd1.fsf@lucy.is.informatik.uni-duisburg.de>
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?
=
next prev parent reply other threads:[~2003-01-18 22:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-17 21:12 Setting lines to print per page simondo
2003-01-18 14:25 ` Kai Großjohann
2003-01-18 22:49 ` gebser [this message]
[not found] ` <mailman.539.1042930154.21513.help-gnu-emacs@gnu.org>
2003-01-19 14:18 ` Kai Großjohann
2003-01-21 17:18 ` Kevin Rodgers
2003-01-22 16:11 ` gebser
2003-01-22 17:27 ` Kai Großjohann
2003-01-27 15:35 ` gebser
2003-01-27 17:46 ` Kai Großjohann
2003-01-23 10:13 ` simondo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0301181731190.9611-100000@heidegger.mousecar.net \
--to=gebser@ameritech.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).