Hi there,
I am looking for the way or implementing pquotad
http://www.cis.ohio-state.edu/~rowland/projects/pquotad/pquotad.html with
LPRng-3.8.19 and ifhp-3.5.10-1, but I never get the quota works, here are my
printcap files and the acct file:
hplj6p
:ae|/var/spool/lpd/pquotad/accounting.pl end
:af=acct
:as=|/var/spool/lpd/pquotad/accounting.pl start
:filter=/usr/libexec/filters/ifhp
:ifhp=model=hp6p,status,sync,pagecount,waitend
:lf=log
:lprngtooloptions=FILTERTYPE="IFHP"
IFHP_OPTIONS="status,sync,pagecount,waitend" PRINTERDB_ENTRY="hp6p"
:mx=0
:sd=/var/spool/lpd/%P
:sh
:lp="ipaddress"%9100

The acct file is like:
START A='root@samba+593' P='hplj6p' n='root' H='localhost.localdomain'
D='1042255465'
filestart '-q17597' '-p7454' '-t2003-01-11-11:24:25.971' '-Aroot@samba+593'
'-nroot' '-Phplj6p'
fileend '-b1' '-T11' '-q17597' '-p7455' '-t2003-01-11-11:24:36.117'
'-Aroot@samba+593' '-nroot' '-Phplj6p'
jobend '-Hlocalhost.localdomain' '-nroot' '-Phplj6p'
'-kcfA593localhost.localdomain' '-b73806' '-t2003-01-11-11:24:36.000' '-CA'
'-Jsmbprn.000038.mYaTqM'

by the way, should I modify accounting.pl from the LPRng package b4 run the
quota program or I can just leave it alone.

THX experts

Simon 

<<attachment: winmail.dat>>

Reply via email to