- Timestamp:
- 03/15/04 14:35:20 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/README
r1397 r1402 146 146 147 147 - Completely internationalized. Actually supports the 148 English, French, Spanish, Portuguese andSwedish149 languages. More to come.148 English, French, Spanish, Portuguese, Brasilian, Swedish 149 and Italian languages. More to come. 150 150 151 151 ==================================================================== … … 166 166 With LPRng, this is done just before the beginning of a job, and used 167 167 this to modify the *preceding* user's quota. So you're always late 168 of one print job, but this is generally ok, especially because a 169 check is also done to see if the current user is allowed or not to 170 print. 168 of one print job, but this is generally ok. 171 169 172 170 - The 'external' method consists in delegating the computation of the … … 177 175 178 176 - The 'stupid' method consists in counting the 'showpage' PostSript 179 statements in the job. THIS IS UNRELIABLE, but can serve as an 180 example if you plan to write your own accounting method for 181 integration into PyKota. It basically works like the 'external' 182 method, but does the computation internally. 177 statements in the job. THIS IS UNRELIABLE, SO DON'T USE IT, but 178 can serve as an example if you plan to write your own accounting 179 method for integration into PyKota. It basically works like the 180 'external' method, but does the computation internally and in 181 a non-reliable way. 183 182 184 183 PyKota is known to work fine with HP Laserjet 2100 and 2200, and 185 184 Apple LaserWriter 16/600 PS, both with CUPS and LPRng, under 186 Debian GNU/Linux (Sarge and Sid) operating systems. 187 188 I'm interested in receiving success or failure reports with other 189 brands or models of printers, as well as with other operating 190 systems. 185 Debian GNU/Linux (Sarge and Sid) operating systems. It should work 186 fine with most network printers. 191 187 192 188 ============================================================ … … 244 240 the Print Server. The PostgreSQL client libraries' version must 245 241 match the PostgreSQL version used on the Quota Storage Server. 242 BEWARE : under Debian Sarge, as of March 15th 2004, there's a 243 problem with python2.2-pygresql and python-2.3-pygresql, so please 244 install python2.1-pygresql and use Python 2.1 to install and run 245 PyKota. This is not a bug in PyKota, and this should be fixed 246 by Debian in a few days I hope. 246 247 247 248 or … … 335 336 Now double check /etc/pykota/pykota.conf 336 337 This file should contain a section named after the 337 printer you've just added. 338 printer you've just added, unless you have set 339 all options globally. 338 340 339 341 That's all. … … 397 399 will tell you how to create, manage or delete printers and 398 400 printers groups. 401 402 $ pkprinters --add --charge 0.05 hp2100 403 404 would add the printer named hp2100 with a price per page 405 of 0.05 unit. 406 407 Now set quotas for users on this printer : 399 408 400 409 $ edpykota --add -P hp2100 -S 40 -H 50 user1 ... userN … … 447 456 printquota.cgi provided in the cgi-bin/ subdirectory. You can 448 457 also use the CSS stylesheet present in the stylesheets/ subdirectory 449 and put it at your web server's DocumentRoot. 458 and put it at your web server's DocumentRoot, to benefit from a nicer 459 look, especially quota violations will appear in different colors. 450 460 451 461 For different security concerns, please give a look at the SECURITY