Changeset 1402

Show
Ignore:
Timestamp:
03/15/04 14:35:20 (21 years ago)
Author:
jalet
Message:

Documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/README

    r1397 r1402  
    146146           
    147147        - Completely internationalized. Actually supports the   
    148           English, French, Spanish, Portuguese and Swedish  
    149           languages. More to come. 
     148          English, French, Spanish, Portuguese, Brasilian, Swedish  
     149          and Italian languages. More to come. 
    150150 
    151151==================================================================== 
     
    166166    With LPRng, this is done just before the beginning of a job, and used  
    167167    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. 
    171169     
    172170  - The 'external' method consists in delegating the computation of the 
     
    177175     
    178176  - 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. 
    183182   
    184183PyKota is known to work fine with HP Laserjet 2100 and 2200, and  
    185184Apple 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. 
     185Debian GNU/Linux (Sarge and Sid) operating systems. It should work 
     186fine with most network printers. 
    191187 
    192188============================================================ 
     
    244240  the Print Server. The PostgreSQL client libraries' version must  
    245241  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. 
    246247   
    247248or   
     
    335336        Now double check /etc/pykota/pykota.conf  
    336337        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. 
    338340         
    339341        That's all. 
     
    397399    will tell you how to create, manage or delete printers and 
    398400    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 
     407Now set quotas for users on this printer :      
    399408 
    400409    $ edpykota --add -P hp2100 -S 40 -H 50 user1 ... userN 
     
    447456printquota.cgi provided in the cgi-bin/ subdirectory. You can  
    448457also use the CSS stylesheet present in the stylesheets/ subdirectory 
    449 and put it at your web server's DocumentRoot. 
     458and put it at your web server's DocumentRoot, to benefit from a nicer  
     459look, especially quota violations will appear in different colors. 
    450460 
    451461For different security concerns, please give a look at the SECURITY