Pagecount accounting is working normally for our LAN attached (JetDirect) 
HP8100 printers. However for our local attached HP8100 (ie. :lp=/dev/lp0) 
the pagecount returned is always 0.

Here's the printcap:

labpr1\
|lpt\
|lpt1\
        :sh\
        :ml=0\
        :mx=0\
        :sd=/var/spool/lpd/lpt1\
        :lp=/dev/lp0\
        :la\
        :af=acct\
        :as=|/usr/libexec/filters/accounting.pl start $H $n $P $k $b $t\
        :ae=|/usr/libexec/filters/accounting.pl end   $H $n $P $k $b $t\
        :ifhp=model=hp8100,pagecount,waitend,sync\
        :of=/usr/libexec/filters/ifhp -q

Here's a typical output from lpq -v after printing a one page test job:

 Filter_status: (of) using model 'hp8100' at 15:50:59.580
 Filter_status: (of) setting up printer at 15:50:59.583
 Filter_status: (of) starting OF mode passthrough at 15:50:59.583
 Filter_status: (of) pagecounter 0 at 15:50:59.583
 Filter_status: (of) OF process suspending at 15:50:59.585
 Filter_status: (of) OF process running at 15:50:59.588
 Filter_status: (of) pagecounter 0, pages 0 at 15:50:59.590
 Filter_status: (of) ending OF mode passthrough at 15:50:59.591
 Filter_status: (of) done at 15:50:59.591

This is a RH7.1 system with LPRng 3.8.1 and ifhp 3.4.7.

I'm too inexperienced with this to discern whether this is a software setup 
problem, or a software bug, or whether something is wrong with the HP8100.

Is anyone doing pagecount accounting for local attached printers?

TIA.

-ct

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to