From owner-freebsd-questions Wed Oct 21 10:53:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16979 for freebsd-questions-outgoing; Wed, 21 Oct 1998 10:53:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16974 for ; Wed, 21 Oct 1998 10:53:23 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id KAA10056; Wed, 21 Oct 1998 10:49:52 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 21 Oct 1998 10:49:51 -0700 (PDT) From: Doug White To: David Jeffers cc: freebsd-questions@FreeBSD.ORG Subject: Re: Printing problems In-Reply-To: <19981017215254.A1061@mynet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Oct 1998, David Jeffers wrote: > Here's my printcap entry - > > lp|cdj500|ps|local Deskjet printer:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd/:lf=/var/log/lpd-errs:sh:mx#0:\ > :if=/usr/local/libexec/lpfilter: > > With ghostscript-5.10 installed, postscript printing fails. I'm using > an HP660c desk jet. Also tried enscript which I use on another machine > with same result -the postscript code file is printed instead of > the file sent to the printer. What's in lpfilter? If it's the one below you're trying to double-print the file. Input filters expect input on stdin and the stuff to send to the printer on stdout. I use this script: #!/bin/sh # # PostScript to DeskJet 500 mono /usr/local/bin/gs -q -dNOPAUSE -sDEVICE=deskjet -sOutputFile=- - My printcap entry is so: ps|DeskJet 540 PostScript:\ :lp=/dev/lpt0:\ :sd=/var/spool/lpd/ps:\ :sf:sh:\ :mx#0:\ :lf=/var/spool/lpd/ps/log:\ :af=/var/spool/lpd/ps/acct:\ :if=/usr/local/lib/psif: 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