Hi
I must be missing something, but having reread the ifhp and lprng how-tos,
I have 2 major problems, and would appreciate assistance.
If anyone is using the HP4050N, and has accounting working, please let me
know how.
Otherwise, I have 2 problems:
1 The pagecount is always zero.
2 Whenever I try to run accounting.pl, the printjob is aborted
(lpq shows abort).
My printcap is below, and the last job in acct is shown below.
Thanks for your time
Sue McGlashan
email [EMAIL PROTECTED] Phone: +27 (011) 717 6191
# /etc/printcap
lp|ug-printer
:sd=/var/spool/lpd/ug-printer:\
:mx=0:\
:sh:\
:lp=lp@ip_address
:lpd_bounce
:ifhp=model=hp4050
:filter=/usr/libexec/filters/ifhp
:of=/usr/libexec/filters/ifhp [ -Tsync,pagecount,waitend
-adding this has no effect]
:lf=log
:af=acct
:achk
# :as=|/usr/libexex/filters/accounting.pl start
# :ae=|/usr/libexex/filters/accounting.pl end
[If i run above 2 lines, print job aborts. If I run the 2 lines below,
print job prints]
:as= jobstart $H $n $P $k $b $t
:ae=jobend $H $n $P $k $b $t
tail acct (running including the bottom 2 lines above)
jobstart '-Hpc146' '-nsxaba' '-Plp'
'-kcfA719pc146' '-b2372' '-t2000-08-08-11:51:35.000'
start '-q7933' '-p0' '-t2000-08-08-11:51:35.260' '-Asxaba@pc146+719'
'-nsxaba' '-Plp'
filestart '-q7934' '-p0' '-t2000-08-08-11:51:35.515' '-Asxaba@pc146+719'
'-nsxaba' '-Plp'
fileend '-b0' '-T0' '-q7934' '-p0' '-t2000-08-08-11:51:35.641'
'-Asxaba@pc146+719' '-nsxaba' '-Plp'
end '-b0' '-T0' '-q7933' '-p0' '-t2000-08-08-11:51:35.644'
'-Asxaba@pc146+719' '-nsxaba' '-Plp'
jobend '-Hpc146' '-nsxaba' '-Plp'
'-kcfA719pc146' '-b2372' '-t2000-08-08-11:51:35.000'
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------