| 22 | * How can I limit my users to N pages per day (month/year) ? |
| 23 | |
| 24 | The easiest way to do this is to create their print quota |
| 25 | entries using something like : |
| 26 | |
| 27 | $ edpykota --add -S 30 -H 30 user1 user2 user3 ... |
| 28 | |
| 29 | this would limit users to 30 pages on each printer. |
| 30 | |
| 31 | Then in a crontab launched every day (month/year) you could |
| 32 | do : |
| 33 | |
| 34 | 00 23 * * * /usr/bin/edpykota --reset |
| 35 | |
| 36 | this would reset every user's page counter to 0 on each printer |
| 37 | at 23h00 every day. |
| 38 | |
| 39 | * How can I tell PyKota to allow some users to print without limitation ? |
| 40 | |
| 41 | Just create these users' print quota entries this way : |
| 42 | |
| 43 | $ edpykota --add --limitby quota --noquota user1 user2 ... |
| 44 | |
| 45 | This would effectively put these users in "no limit" mode on |
| 46 | each printer. If you want to do this only on some printers, just |
| 47 | use the --printer command line argument as well. See |
| 48 | edpykota's documentation for details. |
| 49 | |