Date: Tue, 5 Jan 1999 10:28:41 -1000 (HST) From: Wai Chan <wai@aloha.net> To: freebsd-questions@FreeBSD.ORG Subject: Printing extra page number/info Message-ID: <Pine.GSO.3.94.990105102724.3927A-100000@haleakala>
next in thread | raw e-mail | index | archive | help
Since I didn't see any suggestion/solution, I probably didn't supply enough information for the problem that submitted couple days ago. I am using "Apple color LW 12/600 PS" printer driver on my Win98 box, and trying to print to Epson Stylus Color 600 of my FreeBSD 3.0 box (via SAMBA). The printing is fine, but at the end of each printing, it prints extra page number to a new page (without page feed), which is similar to this: %% [ Page: 1 ] %% %% [ LastPage ] %% Then I have to manually press page feed button to eject the paper. Otherwise, the next print job will be printed after the page number on the same paper. How can I get rid of this? I don't want to print the extra page number/info, it is wasting my paper. The following is my /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 my /usr/local/libexec/Epson-if: #!/bin/sh read first_line first_two_chars=`expr "$first_line" : '\(..\)'` if [ "$first_two_chars" = "%!" ]; then /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=stcolor -sOutputFile=- - && exit 0 else echo "$firstLine" && /bin/cat && printf "\f" && exit 0 fi exit 2 The following is printer setting in /usr/local/etc/smb.conf [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print public = yes # guest ok = no writable = no printable = yes Thank you very much for you attention. best wishes, Wai Chan wai@aloha.net 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.GSO.3.94.990105102724.3927A-100000>