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

My accounting system makes sure a job cannot start before a valid marker
count has been aquired. That means, that no matter what, the next time the
printer is turned on (within 12 hours) or the next time a job is sent to
it, the marker count will be read.

If the student turns of the printer on the last page, the accounting
system will try to read the marker count for about 12 hours (likely some
other students turns on the printer within that time). After 12 hours it
gives up and will check the marker count at the start of the next job. No
job is allowed to start before the marker count of the previos job has
been read. (All printers are of course in a private VLAN directly on the
print server so the only way to reach them is via LPRng.)

So the only way for the students to get away with their usage is to steal
the entire printer so that its counter can never be read again.

Henrik

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