Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #62587

Re: Changing the font w/ lpr?

From Andreas Eder <a_eder_muc@web.de>
Newsgroups comp.os.linux.misc
Subject Re: Changing the font w/ lpr?
Date 2024-12-17 13:32 +0100
Organization A noiseless patient Spider
Message-ID <87ed264hie.fsf@eder.anydns.info> (permalink)
References <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me> <vjq8e2$1aqtu$1@dont-email.me>

Show all headers | View raw


On Mo 16 Dez 2024 at 22:09, pH <wNOSPAMp@gmail.org> wrote:

> On 2024-12-16, Chris Ahlstrom <OFeem1987@teleworm.us> 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
-- 
ceterum censeo redmondinem esse delendam

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Changing the font w/ lpr? pH <wNOSPAMp@gmail.org> - 2024-12-15 21:46 +0000
  Re: Changing the font w/ lpr? "Carlos E.R." <robin_listas@es.invalid> - 2024-12-16 00:42 +0100
    Re: Changing the font w/ lpr? Lars Poulsen <lars@cleo.beagle-ears.com> - 2024-12-16 00:57 +0000
      Re: Changing the font w/ lpr? pH <wNOSPAMp@gmail.org> - 2024-12-16 01:16 +0000
      Re: Changing the font w/ lpr? "Carlos E.R." <robin_listas@es.invalid> - 2024-12-16 14:48 +0100
    Re: Changing the font w/ lpr? pH <wNOSPAMp@gmail.org> - 2024-12-16 01:15 +0000
  Re: Changing the font w/ lpr? Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-12-16 07:29 -0500
    Re: Changing the font w/ lpr? pH <wNOSPAMp@gmail.org> - 2024-12-16 22:09 +0000
      Re: Changing the font w/ lpr? The Natural Philosopher <tnp@invalid.invalid> - 2024-12-17 10:11 +0000
      Re: Changing the font w/ lpr? Andreas Eder <a_eder_muc@web.de> - 2024-12-17 13:32 +0100
        Re: Changing the font w/ lpr? pH <wNOSPAMp@gmail.org> - 2024-12-18 05:43 +0000
          Re: Changing the font w/ lpr? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-18 05:56 +0000

csiph-web