Changeset 724 for pykota/trunk
- Timestamp:
- 02/06/03 16:26:01 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/README
r716 r724 18 18 for the number of pages they have printed. 19 19 20 Current or planned features are : 20 Actually only the lazy quota method is implemented. What do I call 21 lazy method ? 21 22 22 - Easy installation. 23 The lazy method consists in querying the printer via SNMP for 24 its total pages counter, just before the beginning of a job, and 25 use this to modify the *preceding* user's quota. So you're 26 always late of one print job, but this is generally ok, especially 27 because a check is also done to see if the current user is allowed 28 or not to print. 29 30 Problem may arise however in batches on successive print jobs 31 my different users when there's no sleep time between two jobs : 32 the used pages may be attributed to incorrect user. This 33 depends on the printer speed and time between jobs. 34 35 Other querying methods which won't suffer from this problem, 36 but probably from other ones ;-) will be implemented in the 37 future. 38 39 PyKota is know to work fine with HP Laserjet 2100 and 2200 40 networked printers. 41 42 Planned features are : 43 44 - Easier installation. 23 45 24 46 - Per printer User and Group quotas. Currently Group 25 47 quotas are only at skeleton stage. 26 48 27 - Centralized configurable storage : currently28 only a PostgreSQL database backend is supported,29 but at least LDAP and MySQL are planned.30 31 - Automated mailing of warning or error messages to32 users and print administrator when print quota is33 exceeded.34 35 49 - Configurable printer querying methods. Currently 36 50 only SNMP method is supported. 37 38 Look at the documentation in the docs subdirectory to learn 39 more. 51 52 - More Quota Storage backends. 40 53 41 54 ============================================================ … … 75 88 ------ 76 89 77 Download the latest PyKota version from :90 Download the latest PyKota version from the CVS tree on : 78 91 79 http://www.librelogiciel.com/software/ 80 81 Extract it and install it on the CUPS Server : 82 83 gzip -d pykota-x.xx.tar.gz | tar -xf - 84 85 where x.xx is PyKota's latest version number. 86 87 Go to PyKota's directory : 88 89 cd pykota-x.xx 92 http://savannah.nongnu.org/projects/pykota 90 93 91 94 Just type : … … 112 115 --- Add the line above exactly as-is somewhere near the top --- 113 116 114 Modify the path to pykota if needed, unfortunately you have to115 supply the correct absolute path here due to CUPS internals, or 116 put the pykota executable into /usr/lib/cups/filter instead of 117 in to /usr/bin.117 Modify the path to the pykota executable if needed, unfortunately 118 you have to supply the correct absolute path here due to CUPS 119 internals, or put the pykota executable into /usr/lib/cups/filter 120 instead of into /usr/bin. 118 121 119 Do this ineach ppd file present in this directory if you want122 Do this for each ppd file present in this directory if you want 120 123 to enable quota on every printer. 121 124 … … 123 126 124 127 $ edpykota -P printer -S softlimit -H hardlimit user1 ... userN 128 129 launching edpykota without any argument or with the --help 130 command line option will show you all the possibilities. 125 131 126 132 Restart CUPS, for example under Debian GNU/Linux systems : … … 131 137 printing quota. 132 138 139 WARNING : as of today, 2003-02-06, group quotas are not 140 implemented. 141 133 142 ============================================================ 134 143