> From [EMAIL PROTECTED] Sat Oct 18 07:28:01 2003 > Date: Sat, 18 Oct 2003 16:27:53 +0200 (CEST) > From: Henrik Edlund <[EMAIL PROTECTED]> > To: Patrick Powell <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: LPRng: Brave souls needed to test SNMP Page Counting > > On Sat, 18 Oct 2003, Patrick Powell wrote: > > PP> The ifhp filter gets the page count at the START of a job as well and > PP> puts this in the accounting/log file. A smart accounting processor > PP> will note the discrepancies and conclude that the 'missing' pages > PP> belong to the previous job, which obviously killed the PostScript/PCL > PP> interpreter. > > So do you pull the marker counter from the printer using PostScript/PCL > then? Or do you just get the number of pages for the last job using > PostScript/PCL? >
You get the page counter values at the 'start' of each job, and then use post-processing of the accouting file: start_job=2745 pagcounter=2100 .... <<< 2100 end_job=2745 pagcounter=2102 .... start_job=2748 pagcounter=2102 .... <<< 2102 - job 2745 has 2 pages end_job=2748 pagcounter=2103 .... Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.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. -----------------------------------------------------------------------------
