Sujet : Re: Changing the font w/ lpr?
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 16. Dec 2024, 14:48:39
Autres entêtes
Message-ID : <nmn53lxtre.ln2@Telcontar.valinor>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 2024-12-16 01:57, Lars Poulsen wrote:
On 2024-12-15 22:46, pH wrote:
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.
The good old "lpr" sent raw ascii bytes to the printer.
Ah, but the current one is part of cups.
The program you need to do simple formatting in PostScript before
handing the file to CUPS is the "enscript" program. Simple and well
documented.
Ah, that one. :-)
FILES
...
/etc/enscript.cfg system-wide configuration file
/etc/enscriptsite.cfg site configuration file
~/.enscriptrc personal configuration file
~/.enscript/ personal resource directory
So you can customize the defaults.
-- Cheers, Carlos.