Sujet : Re: Changing the font w/ lpr?
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.miscDate : 17. Dec 2024, 11:11:39
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vjriot$1mjo7$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 16/12/2024 22:09, pH wrote:
n any case, looks like enscript will do the trick for me.
From memory LPR used the CUPS subsystem and there are in there config files that you can edit to set the font, one of which will be a filter that turns plaintext to postcript for the printer.
I have looked here but cannot find it. Oh that sucks.
/etc/cups/ppd is the main printer file and it allegedly allows a default font to be set but not its size.
It gets worse. Inside /usr/lib/cups is texttops and texttopdf
texttopdf is a compiled C program
I spent 15 minutes - no joy.
It suggest that setting CHARSET as an environment variable might do something
But I couldn't find that.
-- Karl Marx said religion is the opium of the people.But Marxism is the crack cocaine.