Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP printing from SCO

Status
Not open for further replies.

xencatx

IS-IT--Management
Aug 22, 2002
7
GB
I have set up a SCO box to IP-print to an HP Laserjet.
Prints fine but I have a problem with the \n\r thingy.
Text prints from top LH to bottom RH.
What (i think) I need is an output filter e.g.

... printcap snippet ...
of=/usr/local/myoutputfilter........................

Does anyone know of a free output filter for SCO?
I'm familiar with Linux and have in the past (that was ages ago now!) used the Ghostscript CLI (gs ...) to filter printed output.

Thanks

xencatx ///

 
You could try filtering it through sed by putting the following in a script and using it as your filter.

[tt]sed "s/$/^M/"[/tt]

Note that the ^M is a control character which you can enter in vi by typing Ctrl-V, Ctrl-M while in insert mode. Annihilannic.
 
sed doesn't work.
found the answer: use text2post (found in /var/lib/lp/bin) to convert output to Postscript.
Cheers
xencatx ///
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top