From: Jesper Harder <harder@myrealbox.com>
Subject: Re: formatted output from lpr and lp with emacs
Date: Mon, 14 Apr 2003 19:20:37 +0200 [thread overview]
Message-ID: <m38yud807u.fsf@defun.localdomain> (raw)
In-Reply-To: mailman.4489.1050177741.21513.help-gnu-emacs@gnu.org
"Wm. G. McGrath" <wgm@vcn.bc.ca> writes:
> I'm having trouble getting emacs to produce formatted output.
> I'm not sure that it's even an emacs problem.
> I can get formatted output from a console by using:
> pr -l62 -F -o10 filename.txt | lpr
> This will give me indented text from a Lexmark Optra S printer.
> But lpr -i 10 -w60 -p will not.
>
> Under emacs I have set up lpr-switches to ("-i10" "-w60" "-p")
> These options show up correctly under M-x list-options
>
> However the output from M-x lpr-buffer remains unformatted.
> How do I format with pr under emacs - or is that the problem?
It'll work if you put the swithces for 'pr' in lpr-page-header-switches,
rather than lpr-swithces, i.e.
(setq lpr-page-header-switches '("-F" "-l62" "-o10"))
next parent reply other threads:[~2003-04-14 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4489.1050177741.21513.help-gnu-emacs@gnu.org>
2003-04-14 17:20 ` Jesper Harder [this message]
2003-04-12 20:02 formatted output from lpr and lp with emacs Wm. G. McGrath
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=m38yud807u.fsf@defun.localdomain \
--to=harder@myrealbox.com \
/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).