Sujet : Re: Changing the font w/ lpr?
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.miscDate : 16. Dec 2024, 13:29:59
Autres entêtes
Organisation : None
Message-ID : <vjp6g7$149fi$4@dont-email.me>
References : 1
User-Agent : slrn/1.0.3 (Linux)
pH wrote this post while blinking in Morse code:
Hi folks.
>
I like to write my letters using jstar and then print them
like so:
>
pr -o4 -t myfile | lpr
>
After I see the pretty print I can do w/ libreoffice the plain old
10 pitch lineprinter font is kind of clunky.
>
I'd really like to change it to 12 pitch at the least. I'm a long time
WordStar devotee and want to stick w/ good old jstar.
>
I use LO when it seems the thing to do as when I want to embed photos in the
text but....
>
I've not see how/where to change the default pitch for lpr to use.
>
Thanks.
>
Pureheart in Aptos
Check out the command-line program "enscript". Here's a line from a script I
wrote years ago, to print out a C/C++ file:
enscript -P lp0 --media=Letter --landscape --truncate-lines --font="LucidaTypewriter7" --columns=2 $1
That's for a basic plaintext file, though.
-- Living on Earth may be expensive, but it includes an annual free triparound the Sun.