Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 1997 23:12:59 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        rknebel@mail.microserve.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ghostscript
Message-ID:  <Pine.BSF.3.96.970930230947.23594B-100000@gdi.uoregon.edu>
In-Reply-To: <19970930210222.59676@my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Sep 1997 rknebel@mail.microserve.net wrote:

> Hi,
> I have been wracking my brain tring to get my HP Deskjet 660 to print
> using freebsd 2.2.2. Many of you nice people have sent me your
> /etc/printcap files and also your filters and for that I am very
> appreciative.
> One problem still remains. With all this help, I
> can very nicely print any text file but whenever I come upon a postscript
> file ie netscape or a xv picture and ghostscripts is invoked I get about 7
> pages of ghostscript error messages and nothing else.
> I figured maybe my problem is with ghostscript so I started reading all
> the ghostscript docs to try and understand how these filters are made.
> If I switch to the ghostscript directory of examples and type:
> gs -sDEVICE=cdj550 tiger.ps -sOutPutFile=\|lpr ghostscript initializes and
> then I get a line that says showpage press return. 

Try this:

/usr/local/bin/gs -q -sDEVICE=djet500 -sPAPERSIZE=letter -r300 -dNOPAUSE
-dSAFER -sOutputFile=- - 

I actually run this in a shell script that's invoked as the input filter
on a special printer definition (I call it ``ps'').  If you want to run
this from the command line, put a ` | lpr' after it.  Make sure that the
default printer isn't doing any processing on the output; gs expects to
have it's output go directly to the printer.

This is for my DeskJet 500 too; you may need to change the device and may
want to set other options.  See /usr/local/lib/ghostscript/doc/devices.doc
for more information.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970930230947.23594B-100000>