Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:53:51 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,543 |
Posted today: | 6 |
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
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.
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.
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.
I like to write my letters using jstar and then print them like so:
pr -o4 -t myfile | lpr
I'd really like to change it to 12 pitch at the least
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
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.
pH wrote this post while blinking in Morse code:--font="LucidaTypewriter7" --columns=2 $1
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
That's for a basic plaintext file, though.
pH <wNOSP...@gmail.org> [p]:
I like to write my letters using jstar and then print them like so:
pr -o4 -t myfile | lpr
I'd really like to change it to 12 pitch at the least
Assuming that your printer driver can handle postscript, try enscript
with a fixed width font:
pr -o4 -t myfile | enscript --font Courier@12 -B | lpr
If your printer doesn't speak postscript, but does speak PDF,
just add another step to the above pipe:
pr -o4 -t myfile | enscript --font Times-Roman@12 -B | ps2pdf - - | lpr
n any case, looks like enscript will do the trick for me.
On 2024-12-16, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
pH wrote this post while blinking in Morse code:--font="LucidaTypewriter7" --columns=2 $1
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
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
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:--font="LucidaTypewriter7" --columns=2 $1
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
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 ...