Hi all,
I am trying to set up print accounting with LPRng (3.8.14) and ifhp
(3.5.6) using an HP LaserJet 5M and an HP LaserJet 4050N printer over
an ethernet connection. Printing works fine but all the pagecount
numbers report 0. Looking through the list archives it appears that
some people have been successful doing print accounting with these
printers.
My printcap looks like:
officetest:
:[EMAIL PROTECTED]
:sd=/var/spool/lpd/%P
:filter=/local/libexec/filters/ifhp
:of=/local/libexec/filters/ifhp
The accounting file gives output such as:
jobstart '-Hxxxx.xxxx.xxx' '-nphillip' '-Pofficetest'
'-kcfA002xxxx.xxxx.xxx' '-b57439' '-t2002-08-16-12:01:55.000' '-CA'
'-Jtext test'
filestart '-q15345' '-p0' '-t2002-08-16-12:01:56.293'
'-Aphillip@xxxx+1' '-nphillip' '-Pofficetest'
fileend '-b0' '-T1' '-q15345' '-p0' '-t2002-08-16-12:01:56.302'
'-Aphillip@xxxx+1' '-nphillip' '-Pofficetest'
jobend '-Hxxxx.xxxx.xxx' '-nphillip' '-Pofficetest'
'-kcfA002xxxx.xxxx.xxx' '-b57439' '-t2002-08-16-12:01:57.000' '-CA'
'-Jtext test'
(extra returns added for clarity).
Note the -p0
I've tried being explicit about setting the pagecount option (ie
:ifhp=pagecount), I've also tried setting it to both ps and pjl.
Still nothing. Anyone have any idea what I'm doing wrong?
Thanks,
Phillip
--
*****************************************************************
Phillip Stark
Instructional Computing Lab Operations Manager
University of California, Santa Cruz
Got a question? Get an answer: http://ic.ucsc.edu/help
*****************************************************************
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------