From owner-freebsd-questions Tue Jan 5 22:59:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA26824 for freebsd-questions-outgoing; Tue, 5 Jan 1999 22:59:23 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from platinum.tiger.lan (hnl13-104.gst.aloha.net [204.148.109.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA26819 for ; Tue, 5 Jan 1999 22:59:19 -0800 (PST) (envelope-from wai@aloha.net) Received: from aloha.net (localhost [127.0.0.1]) by platinum.tiger.lan (8.9.1/8.9.1) with ESMTP id UAA01233 for ; Tue, 5 Jan 1999 20:58:54 -1000 (HST) (envelope-from wai@aloha.net) Message-ID: <369309A2.3BFDDDFC@aloha.net> Date: Tue, 05 Jan 1999 20:58:43 -1000 From: Wai Chan X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: disable page trailer X-Priority: 2 (High) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How do you disable printing postscript's page trailer? Win98 box sends postscript to FreeBSD box, I saw the postscript contails pagetrailer (which prints page number at the end of the print job), and the FreeBSD box prints the trailer. I don't want the page trailer because it is wasting paper. How do you disable it? The following is the etc/printcap: Epson600|Stylus600|lp|Epson Stylus COLOR 600:\ :sh:\ :mx#0:\ :sd=/var/spool/EpsonStylus600:\ :lp=/dev/lpt0:\ :if=/usr/local/libexec/Epson-if:\ :lf=/var/log/EpsonStylus600.log: The following is the usr/local/libexec/Epson-if: #!/bin/sh read firstLine firstTwoChars=`expr "$firstLine" : '\(..\)'` if [ "$firstTwoChars" = "%!" ]; then /usr/local/bin/gs -dSAFER -dNOPAUSE -r360 -sDEVICE=stcolor -sOutputFile=- -q - && exit 0 else echo "$firstLine" && /bin/cat && printf "\f" && exit 0 fi exit 2 Thank you very much!! best wishes, Wai Chan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message