Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 11:57:07 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Charlie Root <root@cc602670-a.flrtn1.occa.home.com>
Cc:        freebsd-questions@FreeBSD.ORG, iratus@home.com
Subject:   Re: Printing and GS problems
Message-ID:  <Pine.BSF.4.10.9906221156100.99084-100000@resnet.uoregon.edu>
In-Reply-To: <199906212241.PAA00324@cc602670-a.flrtn1.occa.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jun 1999, Charlie Root wrote:

> Hello-I have installed 3.2 from the cdrom set along with ghostscrit-5.10
> and its dependencies so as to be able to print ghostscript files on my
> deskjet 520. I send the file to the spooler via lpr -Ppsjet command. It
> does get to the spooler and then what gets out of my printer is garbage.
> I don't know how else to describe it, also the printing stops w/in the
> first 5 lines of an 8x10 sheet of paper and then cycles to another page.

Try running your script from the command line, then capture the output.
This way you can see error messages and such.

> Below is the section from my printcap that covers printimng with GS and
> below that is the single line of the filter I use. I am baffled as both
> the printcap and filter print flawlessly on 2.2.8. I am getting
> a little desparate as my work (I am self-employed) is dependant
> on quality document printing and up until now I have always gotten
> just that-Any suggestions, pointed ommissions and help will be VERY
> much appreciated.
> 
> 
> 
> # HP DeskJet 520 (Postscript)
> psjet|postscript_inkjet: \
>         :lp=/dev/lp1: \
                   ^^^  Should be lpt1
>         :sd=/var/spool/lpd/psjet: \
>         :if=/usr/local/bin/psjetfilter: \
>         :mx#0: \
>         :sh
> 
> psjetfilter
> 
> #!/bin/sh
> #This file by Todd Burgess (tburgess@uoquelph.ca)
> /usr/local/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=hpdj -sOutputFile=- -

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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