Date: Tue, 05 Jan 1999 20:58:43 -1000 From: Wai Chan <wai@aloha.net> To: freebsd-questions@FreeBSD.ORG Subject: disable page trailer Message-ID: <369309A2.3BFDDDFC@aloha.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369309A2.3BFDDDFC>