On 11 Oct 2001, Ron McKeating wrote:
> Has anybody got a simple guide to page counting and how you turn it on,
> I damned if we can make it work for a hp8100. Any useful tips
> appreciated.
We are using page counting here on our hp8100 using LPRng v3.7.4 and ifhp
v3.4.4. Here is the printcap entry for one of our hp8100s:
scfmain1|:
:lp=scfmain1.scf.orst.edu%9100:
:mx#0:rw:sh:
:ps=status
:af=acct
:lf=log
:sd=/var/spool/lpd/scfmain1
:fx=flpv
:ifhp=model=hp8100,tbcp
:if=/private/ifhp/libexec/filters/ifhp
:as=|/private/ifhp/libexec/filters/acct.pl start
:ae=|/private/ifhp/libexec/filters/acct.pl end
:ss=scfmain
This is using the default, unmodified ifhp.conf file. I have made local
modifications to acct.pl to stick the page count in a database, send
emails, etc.
Andy
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------