On Wed, 5 Nov 2003, Jerome Alet wrote: JA> For my particular software PyKota :
Plug, plug, plug... :-) JA> All points fit perfectly, with these additional restrictions : So you integrate with PostgreSQL? That's nice. I hope you do it in real way and not in some MySQL-compatible crap way. JA> [6] : accounting is done at the beginning of each job for JA> the previous job. This is identical to the end of JA> the previous job if the print server can't be JA> bypassed (if it can be bypassed no need for quotas JA> anyway) If you have several printers, like 15, it can leave a huge window for abuse. My solution limits this window by requireing extra steps to be taken to abuse it. Also the user can not by accident run over quota in a load-balanced system. It is okay to land on a negative score (will just take longer to get it back to the positive), but not when it is unnecessary. JA> [12] : Seems to be difficult to do correcly. Not really. Check the code in the appendix of my report when published. JA> [13] : Probably more easily doable with LPRng, with JA> CUPS I'm not sure this is doable at all JA> without some work (I mean CUPS 1.1.x) LPRng does not support this today, it can only send error messages. Also LPRng has no idea how many impressions were used. JA> I think you should add at least : JA> JA> [14] user should be able to know before printing how much JA> print quota the future job will cost. So he can decide JA> to not send the job to the printer finally. JA> This IMHO interesting feature is supported by both PrintBill JA> and PyKota. That is of no interest to the orderer of this system. Quota is simply impressions, same for all printers. The cost of the job can not be determined before the job has completed on the printer. ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
