Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #260: We're upgrading /dev/null


comp / comp.os.linux.misc / Re: Changing the font w/ lpr?

SubjectAuthor
* Changing the font w/ lpr?pH
+* Re: Changing the font w/ lpr?Carlos E.R.
|+* Re: Changing the font w/ lpr?Lars Poulsen
||+- Re: Changing the font w/ lpr?pH
||`- Re: Changing the font w/ lpr?Carlos E.R.
|`- Re: Changing the font w/ lpr?pH
`* Re: Changing the font w/ lpr?Chris Ahlstrom
 `* Re: Changing the font w/ lpr?pH
  +- Re: Changing the font w/ lpr?The Natural Philosopher
  `* Re: Changing the font w/ lpr?Andreas Eder
   `* Re: Changing the font w/ lpr?pH
    `- Re: Changing the font w/ lpr?Lawrence D'Oliveiro

1
Subject: Changing the font w/ lpr?
From: pH
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 15 Dec 2024 21:46 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Changing the font w/ lpr?
Date: Sun, 15 Dec 2024 21:46:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vjnink$oltf$1@dont-email.me>
Injection-Date: Sun, 15 Dec 2024 22:46:28 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f7f055168bd9638a653c0045d73ff7be";
logging-data="808879"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TMzx4Ltk5Y+UHTebdZVuMEnxRSY55NOM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:AWl3Q6nES2DO2+d8LQ1sqG+mlQ0=
View all headers

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

Subject: Re: Changing the font w/ lpr?
From: Carlos E.R.
Newsgroups: comp.os.linux.misc
Date: Sun, 15 Dec 2024 23:42 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 00:42:23 +0100
Lines: 41
Message-ID: <v3643lxn14.ln2@Telcontar.valinor>
References: <vjnink$oltf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net G3D46U1X4LGJAUXX2l3DTQJ8ySSehMXPa3sFotz9MXOf1Ms0oV
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:Zv2BXSm/3Nfh6F510g2MD0wnfOw= sha256:aZhZuj8be5GgBxBOnYt2IJGX7EP9L6JTGoHrwDhYdmI=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <vjnink$oltf$1@dont-email.me>
View all headers

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.
>
> 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

That is not trivial.

You have to follow the chain of conversions that your distribution uses
from text to postscript in cups. It is probably using a2ps.

I have never done this, so I can not explain it.

The other method is that you do the conversion from ascii to ps
yourself, manually, and then submit to the printer the already fully
created postcript instead of the ascii.

man a2ps for the options.

Once you get all the options you need, create a script.

--
Cheers, Carlos.

Subject: Re: Changing the font w/ lpr?
From: Lars Poulsen
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 16 Dec 2024 00:57 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lars@cleo.beagle-ears.com (Lars Poulsen)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 00:57:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <slrnvluuo0.373j6.lars@cleo.beagle-ears.com>
References: <vjnink$oltf$1@dont-email.me> <v3643lxn14.ln2@Telcontar.valinor>
Injection-Date: Mon, 16 Dec 2024 01:57:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a055166caa699b5a1fdebc2d0d83c767";
logging-data="870990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QuY8VHRfTwfpAOTr2p4xfkL9OsrWGGWM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:X14beTzRYjT/QMEssbsqJD42ve0=
View all headers

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.
The program you need to do simple formatting in PostScript before
handing the file to CUPS is the "enscript" program. Simple and well
documented.

Subject: Re: Changing the font w/ lpr?
From: pH
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 16 Dec 2024 01:15 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 01:15:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <vjnuvq$qn0p$1@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <v3643lxn14.ln2@Telcontar.valinor>
Injection-Date: Mon, 16 Dec 2024 02:15:39 +0100 (CET)
Injection-Info: dont-email.me; posting-host="677fae38ec6bd98eeaf17668e54ec688";
logging-data="875545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HdNhJJRznO1u2HbJuxPSWkREB+5qCRNc="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:9U0br7z9f2JOxNlBmENBVdyvAnM=
View all headers

On 2024-12-15, Carlos E.R. <robin_listas@es.invalid> 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.
>>
>> 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
>
> That is not trivial.
>
> You have to follow the chain of conversions that your distribution uses
> from text to postscript in cups. It is probably using a2ps.
>
> I have never done this, so I can not explain it.
>
> The other method is that you do the conversion from ascii to ps
> yourself, manually, and then submit to the printer the already fully
> created postcript instead of the ascii.
>
> man a2ps for the options.
>
> Once you get all the options you need, create a script.
>
>

Thank-you for hint. I looked at all the conversion programs and ones like
ascii2ps were not to be found...so thanks for the a2ps hint.
I see that's not installed, either, so I'll put it in and start reading up
on it.

pH

Subject: Re: Changing the font w/ lpr?
From: pH
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 16 Dec 2024 01:16 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 01:16:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vjnv1o$qn0p$2@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <v3643lxn14.ln2@Telcontar.valinor>
<slrnvluuo0.373j6.lars@cleo.beagle-ears.com>
Injection-Date: Mon, 16 Dec 2024 02:16:40 +0100 (CET)
Injection-Info: dont-email.me; posting-host="677fae38ec6bd98eeaf17668e54ec688";
logging-data="875545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4G8vhFlir+r0JkGuhrXF9lpEnYJQhu4Y="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:uMl6hUzA1/d79lFjEFFFQl1AyUA=
View all headers

On 2024-12-16, Lars Poulsen <lars@cleo.beagle-ears.com> 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.
> 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, good. I'll read up on this, too. Thank-you.

pH

Subject: Re: Changing the font w/ lpr?
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Mon, 16 Dec 2024 12:29 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 07:29:59 -0500
Organization: None
Lines: 34
Message-ID: <vjp6g7$149fi$4@dont-email.me>
References: <vjnink$oltf$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Mon, 16 Dec 2024 13:30:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="57044d7884f095e304182a7e5f7c5642";
logging-data="1189362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QvO32bzZhRzrpc4Bi9eFE"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:0TpRfKPlk+muEdUcsbp41dK8h8Y=
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-Slrn: Why use anything else?
View all headers

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.

--
Living on Earth may be expensive, but it includes an annual free trip
around the Sun.

Subject: Re: Changing the font w/ lpr?
From: Carlos E.R.
Newsgroups: comp.os.linux.misc
Date: Mon, 16 Dec 2024 13:48 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 14:48:39 +0100
Lines: 40
Message-ID: <nmn53lxtre.ln2@Telcontar.valinor>
References: <vjnink$oltf$1@dont-email.me> <v3643lxn14.ln2@Telcontar.valinor>
<slrnvluuo0.373j6.lars@cleo.beagle-ears.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 7G+tpLdTF/8HAxPj9uXJjgAZeUV3g0T2R1rgkNyPk3Ce9Ck6dB
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:1cJE5FBwLuh11B+oAXXAM7Wj41A= sha256:Kb0xdRCq93tV/xuSN3XIju4KMWSiG9AFGy4tgl2eQQk=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <slrnvluuo0.373j6.lars@cleo.beagle-ears.com>
View all headers

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.

Subject: Re: Changing the font w/ lpr?
From: pH
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 16 Dec 2024 22:09 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Mon, 16 Dec 2024 22:09:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <vjq8e2$1aqtu$1@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me>
Injection-Date: Mon, 16 Dec 2024 23:09:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="677fae38ec6bd98eeaf17668e54ec688";
logging-data="1403838"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ny9Q33Kfezwzxxjz7Lz4PNF9yKlmwi3Q="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:uzlNcTQB0HyccGSkKuNXPZ2E/js=
View all headers

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

Subject: Re: Changing the font w/ lpr?
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Tue, 17 Dec 2024 10:11 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Tue, 17 Dec 2024 10:11:39 +0000
Organization: A little, after lunch
Lines: 28
Message-ID: <vjriot$1mjo7$1@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me>
<vjq8e2$1aqtu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 17 Dec 2024 11:11:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e466b74ef5eb9e5998ef317ab89c49e6";
logging-data="1789703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GBezQKHxwcdYkQ9cBx85cJEDEVzBAyh0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:uIacy5mYtHgQrzdFzItomufXMms=
In-Reply-To: <vjq8e2$1aqtu$1@dont-email.me>
Content-Language: en-GB
View all headers

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.

Subject: Re: Changing the font w/ lpr?
From: Andreas Eder
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 17 Dec 2024 12:32 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: a_eder_muc@web.de (Andreas Eder)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Tue, 17 Dec 2024 13:32:25 +0100
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <87ed264hie.fsf@eder.anydns.info>
References: <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me>
<vjq8e2$1aqtu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 17 Dec 2024 14:00:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7475ac90d239b849b7acd433032e046a";
logging-data="1847076"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A8BQwpUwDvf7jIYGa7TQE"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:L460FpFoO5EcYwCR/8z9RJptnv8=
sha1:iZ37O3JjAFbyXv4uEDwkI7wZj40=
View all headers

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

Subject: Re: Changing the font w/ lpr?
From: pH
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 18 Dec 2024 05:43 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wNOSPAMp@gmail.org (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: <vjtnej$25vk2$1@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me>
<vjq8e2$1aqtu$1@dont-email.me> <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=
View all headers

On 2024-12-17, Andreas Eder <a_eder_muc@web.de> wrote:
> 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

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

Subject: Re: Changing the font w/ lpr?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 18 Dec 2024 05:56 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Changing the font w/ lpr?
Date: Wed, 18 Dec 2024 05:56:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vjto7b$262og$2@dont-email.me>
References: <vjnink$oltf$1@dont-email.me> <vjp6g7$149fi$4@dont-email.me>
<vjq8e2$1aqtu$1@dont-email.me> <87ed264hie.fsf@eder.anydns.info>
<vjtnej$25vk2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 Dec 2024 06:57:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="9ed5d2960e91ad91a8c092c667dd3279";
logging-data="2296592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181gHUlAg4tC4m+/QB4K39c"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:1ZDL9YTZL2OqhpOsVNbd2tidZAI=
View all headers

On Wed, 18 Dec 2024 05:43:47 -0000 (UTC), pH wrote:

> I did download a2ps ...

Debian includes standard packages for a2ps and enscript. That should apply
to its derivatives as well.

1

rocksolid light 0.9.8
clearnet tor