On Wed, 27 Aug 2003, Alfredo Ramos wrote:
> Please help. I'm having a difficult time getting an HP8000 to record the
> page counters to the accounting file without causing lpd to reprint the
> jobs over and over.
First, ensure that there aren't errors in your print job. Somewhere on
the printer control panel, there's a "show PS errors" option. Turn it on
and watch for error pages. Ensure that your cover page and sample job
print w/o problems. I was bitten by this one: our coverpage had a
Postscript bug that never caused a problem until I installed LPRng and
ifhp. LPRng would check for status, notice the error, and reprint the
cover page. Fixing the cover page made that problem go away.
Next, keep it simple. Come up with the simplest possible printcap file
that works. Then add ifhp. Then add accounting. If you try to do too
much too fast, you won't be able to track down the source of the problem.
That said, the following works for me:
.servercommon:
:sd=/var/spool/lpd/lprng/%P
:af=/var/spool/lpd/lprng/%P.log
:create_files=TRUE
:ar=TRUE
:mx=0
:lpd_bounce
:filter=/usr/local/libexec/filters/ifhp
:ab
:bl=$P $h $n $J $t
:bp=/usr/local/libexec/filters/bannerpage.perl
baker-8000:client:[EMAIL PROTECTED]
baker-8000:
:server
:lp=baker-8000.bh.andrew.cmu.edu%9100
:ifhp=model=hp8000
:tc=.servercommon
You probably don't want the :ab, :bl, and :bp options yet -- at least, not
in this form.
-willie
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------