Hello,
I'm trying to get accounting on the network printer Xerox N2125.
My linux box is a Mandrake 6.1 and I installed LPRng-3.7.4 and ifhp-3.4.3.
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:
___________________________________________________
jobstart '-Hcesaro.dm.unipi.it' '-nroot''-Patalk3'
'-kcfA231cesaro.dm.unipi.it' '-b145''-t2001-03-07-10:26:31.231'
start '-q22236' '-p515' '-t2001-03-07-10:26:35.484''-Aroot@cesaro+231'
'-nroot' '-Patalk3'
filestart '-q22249' '-p515''-t2001-03-07-10:26:36.151' '-Aroot@cesaro+231'
'-nroot' '-Patalk3'
fileend '-b0' '-T2' '-q22249'
'-p515''-t2001-03-07-10:26:37.848''-Aroot@cesaro+231' '-nroot' '-Patalk3'
end '-b0' '-T7' '-q22236'
'-p515''-t2001-03-07-10:26:38.354''-Aroot@cesaro+231' '-nroot' '-Patalk3'
jobend '-Hcesaro.dm.unipi.it' '-nroot'
'-Patalk3''-kcfA231cesaro.dm.unipi.it' '-b145''-t2001-03-07-10:26:38.804'
__ _____________________________________________________
This is my printcap entry:

__________________________________________
atalk3:
:lp=| -$ /usr/bin/pap -e -p cdc3:cdc3@9100
:af=/var/spool/lpd/atalk3/acct
:lf=/var/spool/lpd/atalk3/log
:sd=/var/spool/lpd/atalk3
:sh
:ifhp=sync,ps_eoj_at_start@,of_options=pagecount,waitend
:filter=/usr/libexec/filters/ifhp
:of=/usr/libexec/filters/ifhp
__________________________________________


This is the status file:
___________________________________________
(of) using model 'DEFAULT' at 10:26:31.419
(of) pagecount using 'pjl info pagecount' at 10:26:31.428
(of) setting up printer at 10:26:31.428
(of) starting OF mode passthrough at 10:26:31.429
(of) getting sync using 'pjl echo' at 10:26:31.429
(of) sync done at 10:26:35.482
(of) pagecounter 515 after 1 attempts at 10:26:35.484
(of) pagecounter 515 at 10:26:35.484
(of) OF process suspending at 10:26:35.487
using model 'DEFAULT' at 10:26:35.653
pagecount using 'pjl info pagecount' at 10:26:35.663
setting up printer at 10:26:35.663
getting sync using 'pjl echo' at 10:26:35.664
sending job file at 10:26:36.154
starting transfer at 10:26:36.154
initial job type 'POSTSCRIPT' at 10:26:36.155
decoded job type 'POSTSCRIPT' at 10:26:36.156
job type 'POSTSCRIPT' at 10:26:36.156
transferring 145 bytes at 10:26:36.157
100 percent done at 10:26:36.158
data sent at 10:26:36.158
sent job file at 10:26:36.158
getting end using 'pjl job/eoj' at 10:26:36.162
error = 'undefined;' at 10:26:36.811
offendingcommand = '' at 10:26:36.811
end of job detected at 10:26:37.779
pagecounter 515 after 1 attempts at 10:26:37.847
pagecounter 515, pages 0 at 10:26:37.848
done at 10:26:37.849
(of) OF process running at 10:26:37.855
(of) getting end using 'pjl job/eoj' at 10:26:37.857
(of) end of job detected at 10:26:38.285
(of) pagecounter 515 after 1 attempts at 10:26:38.353
(of) pagecounter 515, pages 0 at 10:26:38.353
(of) ending OF mode passthrough at 10:26:38.354
(of) done at 10:26:38.354
__________________________________________________


(anyway,the job has been printed correctly)
Can  anyone help me?
Thank you in advance.




-- 

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