Folk, Let me start by explaining a "nasty" aspect of our setup here. We have LPRng unix print servers, which Macs and Unix machines print to. We also have Novell NDPS/PCounter/whatever for Windows machines to print to. Because there are two completely different systems printing to the same printers, I am limited as to what I can do with the accounting data. The trick where a user can print a job, and then lprm it before it finishes to avoid getting charged, is normally avoided by clever parsing of the acct log according to the sample accounting script and documentation. However, if I have two START's in a row without an END in the middle, I can't actually trust that there wasn't a NDPS job that got in there in the middle. The Windows folk are not going to use klpr because too many people complained about not being able to remove their jobs and that kinda hooha. (we sync the charges via some jobs we run to parse the pcounter logs)
Anyway, the gist of it is... I need a way to charge people when they do an lprm. The only way I came up with that should work is if I can trigger ifhp (send a signal?) to ... well maybe send an abort to the printer, or tell it to stop sending data, still wait for the printer to get to a "ready" state, and charge whatever ended up coming out. I'm having trouble reading through the LPRng code to try to hack such functionality in though. At some level, I'm looking for suggestions on either what to hack, or other methods to try... etc. Daniel -- /\\\----------------------------------------------------------------------///\ \ \\\ Daniel Henninger http://www.vorpalcloud.org/ /// / \_\\\ North Carolina State University - Systems Programmer ///_/ \\\ Information Technology <IT> /// """--------------------------------------------------------------""" ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
