Sujet : Re: Changing the font w/ lpr?
De : wNOSPAMp (at) *nospam* gmail.org (pH)
Groupes : comp.os.linux.miscDate : 16. Dec 2024, 23:24:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjq9bg$1aqtu$2@dont-email.me>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
On 2024-12-16, Fritz Wuehler <
fritz@spamexpire-202412.rodent.frell.theremailer.net> wrote:
pH <wNOSP...@gmail.org> [p]:
p> I like to write my letters using jstar and then print them like so:
p>
p> pr -o4 -t myfile | lpr
p>
p> I'd really like to change it to 12 pitch at the least
>
Assuming that your printer driver can handle postscript, try enscript
with a fixed width font:
>
pr -o4 -t myfile | enscript --font Courier@12 -B | lpr
>
If your printer doesn't speak postscript, but does speak PDF,
just add another step to the above pipe:
>
pr -o4 -t myfile | enscript --font Times-Roman@12 -B | ps2pdf - - | lpr
>
Works like a charm...I'm in business. I didn't even have to use 'pr' or
'lpr'
enscript --font
Times-Roman@12 -B myfile_to_print
worked fine.
Thanks, everyone.
pH