I have seen a similar pattern with a Xerox N* printer. We ended up not
having to do accounting on that particular printer, but I figured I would
let you know I have seen the same problem. 

Thanks,

Phil Moses

On Mon, 11 Mar 2002, Alessandra La Spina wrote:

> 
> I'm trying to get accounting on the network printer Xerox N2125.
> My linux box now is a RedHat 7.1 and I installed LPRng-3.7.4-22 and ifhp-3.4.4-2
> I have problems to get the right pagecount at the end of the job (it 
> results to be the same as at the start of the job): this is a piece of the acct file:
> 
> START 'A=root@cesaro+442' 'P=cdc4n' 'n=root' 'H=cesaro.dm.unipi.it' 'D=1015856729'
> filestart '-q31446' '-p175397' '-t2002-03-11-15:25:29.867' '-Aroot@cesaro+442' 
>'-nroot' '-Pcdc4n'
> fileend '-b0' '-T2' '-q31446' '-p175397' '-t2002-03-11-15:25:31.870' 
>'-Aroot@cesaro+442' '-nroot' '-Pcdc4n'
> END 't=3' 'p=0' 's=175397' 'q=175397' 'D=1015856732' 'A=root@cesaro+442' 'P=cdc4n' 
>'n=root' 'H=cesaro.dm.unipi.it' 'S=1015856729'
> 
> My printcap.local file is:
> 
> cdc4n:\
>       :sh:\
>       :ml=0:\
>       :mx=0:\
>       :sd=/var/spool/lpd/cdc4n:\
>         :af=acct:\
>         :as=|/usr/libexec/filters/accounting.pl start:\
>         :ae=|/usr/libexec/filters/accounting.pl end:\
>       :lp=cdc4%9100:\
>       :lpd_bounce=true:\
>         :ifhp=if_option=pagecount,of_options=pagecount,debug=3:\
>       :if=/usr/lib/lpfilters/ifhp:
> 
> 
> P.Powell suggested me to add the debug=3 option and I obtained the stuff 
> you find in attachment  (this doesn't seems to help me). Does anyone know   
> why I obtain the same pagecount at the start  and at the end of the job ? 
> 
> (Anyway,the job has been printed correctly and if I print another job 
> I see the pagecount has been  increased by the number of pages of 
> the previous job)
> 
> 
> 
> 
> Alessandra La Spina
> 
> 
> 
> 
> 
> -- 
> 
> =========================================
> Alessandra La Spina
> Dipartimento di Matematica
> Universita' di Pisa
> 
> tel. +39-050-844263
> e-mail: [EMAIL PROTECTED] 
> www: http://www.dm.unipi.it/cdc/index.html
> 
> 
> 
> 


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