LPRng - one extra page
Kevin O'Gorman
kevin
Mon May 17 11:48:19 PDT 2004
I've been putting up with this for a very long time -- I can't
say exactly why.
I'm using LPRNg-3.8.9-4.1 (stock for RH 7.3), and an HP Laserjet 4m
printer. There's only one thing I don't like about the current
setup: the driver doesn't cleanly end its output to the printer.
When the last page has been printed, the "Form Feed" light stays
on, indicating that there's data in the printer. Eventually it
times out and prints an error page.
If I force the printer to print what it has, I get a blank page.
I suspect there's a single newline, or control-D, or some such
protocol remnant, that is sent at the end. I can't figure out
how to get rid of it.
Print jobs start with an incantation that overrrides this, so
the extra page only happens when the printer has waited for work
for a few minutes. Otherwise it does not interfere.
My current lpd.conf is all commented out (all defaults are used).
My current printcap file is:
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.
lp0:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/lp0:\
:af=/var/spool/lpd/lp0/lp0.acct:\
:sh:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_postscript_wrapper:
###############################################################################
## Everything below here is included verbatim from /etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
More information about the Linux-users
mailing list