Hello, my name is Javier. I would like use
accounting with ifhp filters.
My OS is Linux Suse 7.0 and my printer is
HP-4050 with JetDirect. I've installed
ifhp-3.4.1.tgz.
My printcap file is
lp|hplj4l|HP LaserJet 4L:
:lp=:\
:rm=hplj4050.mad.isoco.net:\
:sd=/var/spool/lpd/hplj4050:\
:lf=/var/log/lpd/hplj4050/log/log:\
:af=/var/log/lpd/hplj4050/log/acct:\
:as=|/usr/local/libexec/filters/accounting.pl start:\
:ae=|/usr/local/libexec/filters/accounting.pl end:\
:of=/usr/local/libexec/filters/ifhp:\
:if=/usr/local/libexec/filters/ifhp:\
:ifhp=model=default,pagecount, waitend, sync:\
:la@:mx#0:\
:tr=:cl:sh:
The acct file is
START 'A=root@backup+484' 'P=lp' 'n=root' 'H=backup.local' 'D=990205849'
START 'A=admin@backup+586' 'P=lp' 'n=admin' 'H=backup.local'
'D=990206176'
START 'A=admin@backup+623' 'P=lp' 'n=admin' 'H=backup.local'
'D=990206395'
The accounting.pl file is the lprng original
distribution. ifhp include accounting.sh file,
but I don't know what I have to do with it.
Thanks a lot!
--
Javier Ferruz Rodr�guez
IT Dept. @ iSOCO
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------