|
Home > Archive > Red Hat General > January 2004 > send_try in printcap.local is ignored
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
send_try in printcap.local is ignored
|
|
| Anthony Ewell 2004-01-23, 7:11 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:
| |
|
| AN easier way is to use failover printing if your network supports it.
You can also use cheap software like intelliscribe at
www.intelliscribe.net which has its own fail-over printing feature.
Best,
Terry
Anthony Ewell <aewell@gbis.com> wrote in message news:<bs2r03$95545$1@ID-178899.news.uni-berlin.de>...quote:
> 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:
|
|
|
|
|