[KLUG Members] Printing fun
Dirk H Bartley
members@kalamazoolinux.org
Tue, 31 Jul 2001 15:26:54 -0400
>>An application sends basic text to lpr.
>Maybe, figuring out what is incoming is the filters job assuming you used the
>RH printtool to create the queue. Could be text, or postscript, or jpeg,
>or....
>>It comes out of the printer at 10 characters per inch. I would like to
>>preceed the text getting sent with the escape codes that tell it to print
>>at 12 or 14 cpi. I have tried using leader (ld) in the printcap to send a
>>string to the printer. No matter what I put in, only the banner page prints
>There printcap filters are only used for the banner page.
So I cannot alter printcap to change anything but the banner page????? I'm
confused.
>>if the :ld=\r:\ or any other string is in printcap for the printer. The
>>question is, How do I tell the printer to print a different characters per
>>inch if I need to accomplish this from the linux printing tools rather than
>>he application?
I'v also tried pw with no positive results.
>Do you have to print using lpr? I run all text jobs through mpage which lets
>you set sizes, put on page numbers, double up pages, etc..... It turns text
>jobs into nice postscript.
I don't know that the application is using lpr, I just assume it is. It is a
business application that I tell which printque I want a certain application
defined printername to be. The it prints to the correct printer. I thought if
I could change the que to modify the text then I could see the whole page.
>mpage {-1 -2 -4 -8} -F{fontname{ -h{header} -L{lines} -W{width} -P{printer}
Cool, I could have used that for something else a few days ago.
>>Do I need to edit the filter?
>No! Don't do that. It gets ugly.
Ya, but I've done that in SCO. It was basically just a few sed scripts, which I
understand, even with a few escape codes in it I could trudge my way through!
Here I am not having any progress unfortunately.
Dirk