hi
i am pasting my printcap file .please do lem me
know what to write/modify to get the page count . i
get
p=0,b=0only. ok i will paste the accounting file also
please help - urgent
%%%%%%%%%%%%%%%%%%%%%PRINTCAP FILE%%%%%%%%%%%%%%%%%
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend
during lpd init.
#
# Hand edited changes can be put in
/etc/printcap.local, and will be included.
d1prn:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/d1prn:\
:af=/var/spool/lpd/d1prn/d1prn.acct:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
#:if=/usr/share/printconf/util/mf_wrapper:
:ifhp=model=hp5m,status pagecount:\
:filter=/usr/local/lib/filters/ifhp:\
:of=/usr/local/lib/filters/ifhp:\
:of=/usr/local/lib/filters/ifhp
-Tinfostatus=on,forcepagecount:\
:of=/usr/local/lib/filters/ifhp
-Ttrue_eoj=on:\
:of=/usr/local/lib/filters/ifhp
-Tsync,pagecount,waitend:\
:ifhp=of_options=pagecount waitend:\
:af=acct:\
:lf=/var/log/lpd/acct.log:\
:lf=log:\
:as=|/usr/local/lib/filters/accounting.pl
start:\
:ae=|/usr/local/lib/filters/accounting.pl end:
\
:achk:\
:if=/usr/local/lib/filters/ifhp:\
:forcepagecount:\
:la:
###############################################################################
## Everything below here is included verbatim from
/etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated
printcap,
%%%%%%%%%%%%%%%%%%%PRINTCAP FILE%%%%%%%%%%%%%%%%%%%%
(((((((((((((((((ACCOUNTING FILE)))))))))))))))))))))
start '-q1718' '-p0' '-t2002-03-11-09:27:38.668'
'-Asudipa@naambor+714' '-nsudipa' '-Pd1prn'
filestart '-q1719' '-p0' '-t2002-03-11-09:27:38.686'
'-Asudipa@naambor+714' '-nsudipa' '-Pd1prn'
fileend '-b0' '-T4' '-q1719' '-p0'
'-t2002-03-11-09:27:42.975' '-Asudipa@naambor+714'
'-nsudipa' '-Pd1prn'
end '-b0' '-T6' '-q1718' '-p0'
'-t2002-03-11-09:27:44.523' '-Asudipa@naambor+714'
'-nsudipa' '-Pd1prn'
START 'A=sudipa@naambor+859' 'P=d1prn' 'n=sudipa'
'H=naambor.iitg.ernet.in' 'D=1015819126'
start '-q1863' '-p0' '-t2002-03-11-09:28:46.958'
'-Asudipa@naambor+859' '-nsudipa' '-Pd1prn'
filestart '-q1864' '-p0' '-t2002-03-11-09:28:46.976'
'-Asudipa@naambor+859' '-nsudipa' '-Pd1prn'
fileend '-b0' '-T14' '-q1864' '-p0'
'-t2002-03-11-09:29:00.049' '-Asudipa@naambor+859'
'-nsudipa' '-Pd1prn'
end '-b0' '-T14' '-q1863' '-p0'
'-t2002-03-11-09:29:00.170' '-Asudipa@naambor+859'
'-nsudipa' '-Pd1prn'
((((((((((((((((ACCOUNTING FILE)))))))))))))))))))))
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------