| Anthony Ewell 2004-01-23, 7:10 pm |
| Hi All,
I am running Red hat 9, upgraded from Red Hat 8, upgraded
from Red Hat 7.2.
I ran a debug on an lpr print job and found to my horror
that lpr attempted to print 3 times and exits. From
"man printcap", send_try defaults to 3. Apparently, my
send_try entry in printcap.local is being ignored. :'(
I am hoping I have just misunderstood how printcap.local
works. To set up my printers, I used "printconf". I then
erased my printcap and restarted lpd. lpd recreated my printcap.
I then open printcap.local and inserted my printcap, made my
additions, and again restarted lpd. lpd sucks my printcap.local
into printcap and appends it to the bottom of my printcap.
My send_try addition is then ignored when I print.
Does anyone have an idea what I am doing wrong?
Many thanks,
--Tony
aewell@gbis.com
----------- /etc/printcap ----------------
# /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.
copier|lp4:\
:ml#0:\
:mx#0:\
:sd=/var/spool/lpd/copier:\
:af=/var/spool/lpd/copier/copier.acct:\
:sh:\
:rm=copier.iamnottellingyou.com:\
:rp=PORT1:\
:bk:\
:control_filter=/usr/share/printconf/util/strip_control_file.sh:
########################################
#######################################
## 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 printcap entries.
copier|lp4:\
:ml#0:\
:mx#0:\
:send_try#1000:\
:sd=/var/spool/lpd/copier:\
:af=/var/spool/lpd/copier/copier.acct:\
:sh:\
:rm=copier.iamnottellingyou.com:\
:rp=PORT1:\
:bk:\
:control_filter=/usr/share/printconf/util/strip_control_file.sh:
|