Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pH
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Wed, 18 Dec 2024 05:43:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 60
Message-ID:
References:
<87ed264hie.fsf@eder.anydns.info>
Injection-Date: Wed, 18 Dec 2024 06:43:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2836b9780ebb7dd129e0a6b2b1574e6a";
logging-data="2293378"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ss05n84UTIn5uwViGVPlMp8wCSljW5Nw="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:4amjgtFcMow+e7oC76H1yNkNH7E=
Bytes: 2850
On 2024-12-17, Andreas Eder wrote:
> On Mo 16 Dez 2024 at 22:09, pH wrote:
>
>> On 2024-12-16, Chris Ahlstrom wrote:
>>> 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.
>>>
>>
>> Yes, it looks like "enscript" will be my saviour. I now have to experiment
>> with the font names I have available...the one I was thinking of has spaces
>> in the name so I tried the double quotes and got a NULL result, printed fine
>> w/ the default type . I was using the -f toggle, perhaps I'll try the
>> --font=.
>>
>> In any case, looks like enscript will do the trick for me.
>>
>> pH in Aptos
>
> You could also test a2ps or paps. Both are similar to enscript, but have
> different options.
>
> 'Andreas
I did download a2ps and have glanced at the man page but will need to look
at it better later.
Don't seem to have paps, so maybe will pull that down...should be small.
Thanks to all....
pH