* formatted output from lpr and lp with emacs
@ 2003-04-12 20:02 Wm. G. McGrath
0 siblings, 0 replies; 2+ messages in thread
From: Wm. G. McGrath @ 2003-04-12 20:02 UTC (permalink / raw)
Hi all,
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?
Hoping for clue,
bill
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <mailman.4489.1050177741.21513.help-gnu-emacs@gnu.org>]
* Re: formatted output from lpr and lp with emacs
[not found] <mailman.4489.1050177741.21513.help-gnu-emacs@gnu.org>
@ 2003-04-14 17:20 ` Jesper Harder
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2003-04-14 17:20 UTC (permalink / raw)
"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"))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-14 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-12 20:02 formatted output from lpr and lp with emacs Wm. G. McGrath
[not found] <mailman.4489.1050177741.21513.help-gnu-emacs@gnu.org>
2003-04-14 17:20 ` Jesper Harder
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).