[SunHELP] setting up printing services

Brian Hechinger sunhelp at sunhelp.org
Thu Feb 1 12:18:06 CST 2001


> I'm on my first attempt to setup printing services on a Solaris 2.7 box.
> 
> I've added the printer using admintool.
> I can print to the printer using lp -D <printer name> <filename.txt>
> The problem is that
>                      the text
>                               looks like this.
> I've got an HP 5 SI
> 
> How do I fix this?

you need a filter that converts line feeds to line feeds plus carriage returns.
basically, you have an "MS-DOS text format" printer.  maybe the 5si can be
told to run in "UNIX mode" i don't know.

i don't know if there is a simpler way, but i just use ghostscript.  i've got
a bunch of wacky printers that refuse to work with anything else, so i really
don't bother using anything else.

you may be able to specify a filter name in the printer config file and then
write a small scripts that translates /n to /n/r  check man <something printer
sounding> or wait for someone else to post something more useful.  you may
want to consider ghostscript anyway since it is an amazingly flexable tool and
you can make any printer jump thorugh any number of hoops of your design.

cheers,

-brian



More information about the SunHELP mailing list