Changeset 1086

Show
Ignore:
Timestamp:
07/15/03 08:56:01 (21 years ago)
Author:
jalet
Message:

Better explanation on --limitby.
Clarification on libraries' versions needed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/README

    r1066 r1086  
    172172    - OpenLDAP 
    173173     
    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. 
     174NB :     
     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.  
    177179   
    178180or   
    179181 
    180   python-ldap and the OpenLDAP client libraries' versions on the Print 
    181   Server must match the OpenLDAP version used on the Quota Storage  
    182   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.  
    183185   
    184186  This list of prerequisite software may change in the future, when 
     
    261263Add printers and users to the quota system and set their quota values :  
    262264 
    263     $ edpykota --add -P printer -S softlimit -H hardlimit user1 ... userN 
     265    $ edpykota --add -P hp2100 -S 40 -H 50 user1 ... userN 
    264266         
    265267    launching edpykota without any argument or with the --help 
    266268    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. 
    267285 
    268286Restart CUPS or LPRng, for example under Debian GNU/Linux systems :