PyKota 0.95

Created at 07:32 Feb 17, 2003 by jerome.alet, last modified at 11:33 Feb 17, 2003

The above description correspond to the v0.95, but 0.9 was written instead, probably a typo. Download  ·  Home Page  ·  Listing


Comments

Submit Comment

From gerfboy, 13:23 Mar 05, 2003 (score=1)

I downloaded the latest version on PyKota from CVS and in the readme I found a couple of things that somewhat turned me off to it.

1. It states that users' quotas aren't updated until the next user prints 2. It claims that users might sometimes be mischarged with other users' printjobs

Does anyone else see this as a major problem? Reply

From Jerome Alet alet, 11:28 Mar 10, 2003 (score=3)

As the author of PyKota, I've put this warning in the README because the  method actually used by PyKota is to check the printer page counter before each job and report the difference on the previous user's quota. This is probably the best way to be sure to ask the printer only when being sure that the previous job is finished. If two or more jobs are queued into the printer simultaneously, it is theorically possible that the job size  is wrongly computed because the printer may be asked *before* the previous job is finished, this essentially depends on CUPS internals, and it is possible that all is fine (if CUPS doesn't send multiple jobs on a printer before the first one is finished). In practice, i.e. not under a heavy print load, there's no problem. Under a heavy load I'm not equipped to test unfortunately, but I suppose it is OK, since even in case of a misattribution, on the average, the result is correct. Reply

From Jerome Alet alet, 07:52 Mar 16, 2003 (score=3)

This is now clarified in the README file which is distributed with the software. Thanks for the report. Reply