From owner-freebsd-questions Tue Jun 11 20:38:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA22622 for questions-outgoing; Tue, 11 Jun 1996 20:38:02 -0700 (PDT) Received: from ns1.ptd.net (root@ns1.ptd.net [198.80.46.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA22593 for ; Tue, 11 Jun 1996 20:37:54 -0700 (PDT) Received: from ranger.nick.net (nick@cs1-9.pot.ptd.net [204.186.34.9]) by ns1.ptd.net (8.7.3/8.7.3) with SMTP id XAA29737 for ; Tue, 11 Jun 1996 23:37:38 -0400 (EDT) Message-ID: <31BE3BAA.41C67EA6@ptd.net> Date: Tue, 11 Jun 1996 23:38:18 -0400 From: NickHead X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: ghostscript Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm having a problem with ghostscript 3.51...hopefully someone can help! When I print from netscape (the only PS application I use) I get an extra page at the end of the document that looks like this: Operand stack: Execution stack: %interp_exit () --nostr I'm using an HP LaserJet 4+ printer here is my /etc/printcap: # @(#)printcap 5.3 (Berkeley) 6/30/90 lp|local line printer:\ :sh:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/hplj: and my filter: #!/bin/sh # printf "\033&k2G" || exit 2 # read first_line first_two_chars=`expr "$first_line" : '\(..\)'` # if [ "$first_two_chars" = "%!" ]; then /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 -sOutputFile=- - \ && exit 0 else echo $first_line && cat && printf "\f" && exit 2 fi exit 2 If anyone can help, please e-mail at nickf@ptd.net Thanx! Nick