Changeset 1086
- Timestamp:
- 07/15/03 08:56:01 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/README
r1066 r1086 172 172 - OpenLDAP 173 173 174 PygreSQL and the PostgreSQL client libraries' versions on the Print 175 Server must match the PostgreSQL version used on the Quota Storage 176 Server. 174 NB : 175 176 PygreSQL must be linked with the PostgreSQL client libraries on 177 the Print Server. The PostgreSQL client libraries' version must 178 match the PostgreSQL version used on the Quota Storage Server. 177 179 178 180 or 179 181 180 python-ldap and the OpenLDAP client libraries' versions on the Print181 Server must match the OpenLDAP version used on the Quota Storage182 Server.182 python-ldap must be linked with the OpenLDAP client libraries on the 183 Print Server. The OpenLDAP client libraries' version must match the 184 OpenLDAP version used on the Quota Storage Server. 183 185 184 186 This list of prerequisite software may change in the future, when … … 261 263 Add printers and users to the quota system and set their quota values : 262 264 263 $ edpykota --add -P printer -S softlimit -H hardlimituser1 ... userN265 $ edpykota --add -P hp2100 -S 40 -H 50 user1 ... userN 264 266 265 267 launching edpykota without any argument or with the --help 266 268 command line option will show you all the possibilities. 269 270 by default, each user is limited by "quota", this means that on 271 each printer he can have a different soft and hard limit. 272 You may want to limit the user by his account balance value, 273 in which case, the print quota is shared between all pinters 274 instead of being different. To do this, use the following : 275 276 $ edpykota --add -P hp2100 --limitby balance --balance 10 user1 ... userN 277 278 This will put 10 $ (or Euros, PyKota doesn't care) on each user's account 279 balance, and tell PyKota to limit them by their account balance value. 280 Whenever they print on any printer, their account balance value is 281 decreased by an amount which depends on the particular price per page 282 and per job that you may have defined on the printer with edpykota's 283 --charge command line option. 284 Soft and Hard limits are not used if "--limitby balance" is used. 267 285 268 286 Restart CUPS or LPRng, for example under Debian GNU/Linux systems :