From: Nigel Gamble (nigel@gamble.uucp)
Date: 03/21/93


From: nigel@gamble.uucp (Nigel Gamble)
Subject: Re: Print postscript files with 9-pin epson under Linux ????????????
Date: Sun, 21 Mar 1993 06:28:24 GMT

In <1oft50INNm4h@shelley.u.washington.edu> opium@shelley.u.washington.edu (Eric Nelson) writes:
>I have an Epson FX-850, while it is not very good graphics printer it does have
>the capability, and I have tried under ghostview to print but all I get are the
>contents of the postscript file rather than the image .... any suggestions ...
>I heard the author of lp.c describe printing ps files on a 9-pin epson but
>I have not heard back from nigel%gamble@uunet.uu.net the one who wrote
>the lp.c and lp.h to find out how the heck he does it? I figure he must
>have some sort of special Epson driver or entry in etc/printcap Thanx

Patience, patience... You only sent me mail on the 18th and, since I have a
day job that keeps me busy during the week, you would have received a reply
this weekend. Have you looked at the ghostscript (gs) man page? Did
you try the example on the man page:

        gs -sDEVICE=epson myfile.ps

This will produce an output file in /tmp. Then you can

        cat /tmp/gsXXXXX >/dev/lp1

Or you can tell ghostscript to output directly to the printer with:

        gs -sDEVICE=epson -sOutputFile=/dev/lp1 myfile.ps

The epson driver is part of ghostscript, completely unrelated to lp.c and
lp.h. And I don't use /etc/printcap at all.

-- 
Nigel Gamble                                    gamble!nigel@uunet.UU.NET
Boca Raton, FL, USA.                            uunet!gamble!nigel