Changeset 724

Show
Ignore:
Timestamp:
02/06/03 16:26:01 (22 years ago)
Author:
jalet
Message:

Cleaner documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/README

    r716 r724  
    1818for the number of pages they have printed. 
    1919 
    20 Current or planned features are : 
     20Actually only the lazy quota method is implemented. What do I call 
     21lazy method ? 
    2122 
    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   
     39PyKota is know to work fine with HP Laserjet 2100 and 2200    
     40networked printers. 
     41 
     42Planned features are : 
     43 
     44        - Easier installation. 
    2345         
    2446        - Per printer User and Group quotas. Currently Group 
    2547          quotas are only at skeleton stage. 
    2648         
    27         - Centralized configurable storage : currently 
    28           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 to   
    32           users and print administrator when print quota is  
    33           exceeded. 
    34            
    3549        - Configurable printer querying methods. Currently 
    3650          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.   
    4053 
    4154============================================================ 
     
    7588------ 
    7689  
    77 Download the latest PyKota version from : 
     90Download the latest PyKota version from the CVS tree on : 
    7891 
    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 
    9093 
    9194Just type : 
     
    112115--- Add the line above exactly as-is somewhere near the top  --- 
    113116 
    114 Modify the path to pykota if needed, unfortunately you have to 
    115 supply the correct absolute path here due to CUPS internals, or 
    116 put the pykota executable into /usr/lib/cups/filter instead of 
    117 into /usr/bin. 
     117Modify the path to the pykota executable if needed, unfortunately  
     118you have to supply the correct absolute path here due to CUPS  
     119internals, or put the pykota executable into /usr/lib/cups/filter  
     120instead of into /usr/bin.  
    118121 
    119 Do this in each ppd file present in this directory if you want 
     122Do this for each ppd file present in this directory if you want 
    120123to enable quota on every printer. 
    121124           
     
    123126 
    124127        $ 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. 
    125131 
    126132Restart CUPS, for example under Debian GNU/Linux systems :           
     
    131137printing quota. 
    132138 
     139WARNING : as of today, 2003-02-06, group quotas are not 
     140implemented. 
     141 
    133142============================================================ 
    134143