--- Henrik Edlund <[EMAIL PROTECTED]> wrote:
> On Sat, 18 Oct 2003, Daniel Henninger wrote:
> 
> DH> The only trick are students currently use is:
> DH> - lpr
> DH> - wait until last page of job is coming out of the printer
> DH> - lprm
> DH>
> DH> Obviously this sidesteps the accounting "end" entirely.  The only
> DH> solution I can come up with is to hack LPRng/ifhp so that when ifhp
> DH> received a "stop processing" signal, it'll fire off a last minute
> DH> "what's your page count"? before croaking.  (ie, somehow stop the
> DH> stream of the job to the printer, and then wait for the last page
> DH> count)  A student could still get away with physical activities with
> DH> the printer, but most of ours would have an operator staring at them
> DH> when they did that who would have words with them.
> DH>
> DH> Any suggestions?  =/

if the student cancels the job at the last page, wouldn't the printer counter still be 
updated ?
if snmp being used, you can still get the latest pagecount from printer even student 
cancel the
last page then  you can update student quota base on that. 
i am not sure how do you know when to update the user quota. maybe when the LPRng 
doesn't return
END of job to the log?

am i right?


Qiang


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.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.
-----------------------------------------------------------------------------

Reply via email to