Show
Ignore:
Timestamp:
07/25/03 12:41:30 (21 years ago)
Author:
jalet
Message:

Better documentation.
pykotme now displays the current user's account balance.
Some test changed in ldap module.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/docs/filterpykota.sgml

    r982 r1099  
    4444    Currently with a <application>CUPS</application> backend, the <application>pykota</application> filter is used at the very last stage of the print mechanism, 
    4545    just before the final data is sent to the printer, but it may eventually be used earlier with some 
    46     modifications to <application>CUPS</application>'s filtering configuration. This is not tested yet, but this 
    47     may be the solution to use <application>PyKota</application> with printers which really needs to have 
    48     a specific filter like <application>magicfilter</application> or <application>cupsomatic</application>,  
    49     i.e. non-postscript printers. This is a limitation in <application>CUPS</application> which doesn't really 
    50     allow to specify multiple print filters for different purposes. This problem will be solved in <application>CUPS</application> 
    51     version 1.2 and higher. 
     46    modifications to <application>CUPS</application>'s filtering configuration.  
     47    You can find in the mailing list archives of July 2003 an explanation on how to do this. 
     48    This may allow you to use PyKota with a not-PostScript printer or with a PostScript printer 
     49    which really needs to have 
     50    a specific filter like <application>magicfilter</application> or <application>cupsomatic</application>. 
    5251  </para> 
    5352   
     
    6867   
    6968  <para> 
     69    When using the <literal>querying</literal> accounting method, 
    7070    <application>pykota</application> then asks the printer for its internal page counter, read from the Quota DataBase the internal 
    7171    page counter for this printer when the previous job was launched, computes the difference, and report it as the  
     
    7777   
    7878  <para> 
     79    When using the <literal>external</literal> accounting method, 
     80    and if the user is still allowed to print, 
     81    the command you specified is launched with the job's data on its  
     82    standard input. Your command must print the job's size in number of 
     83    pages on a single line on its standard output. This number is then 
     84    read by PyKota and used to update the current user's quota information. 
     85  </para> 
     86   
     87  <para> 
    7988    If a problem occurs, it is logged either to the filter's standard output or to the system logger, depending on 
    8089    your preferences in <application>PyKota</application>'s configuration file. Also if a print quota is reached 
    81     you may choose if the administrator, the user, both or noone will receive an email message explaining 
     90    you may choose if the administrator, the user, both or no-one will receive an email message explaining 
    8291    the situation and proposing a solution. 
    8392  </para> 
     
    8897 
    8998$Log$ 
     99Revision 1.5  2003/07/25 10:41:29  jalet 
     100Better documentation. 
     101pykotme now displays the current user's account balance. 
     102Some test changed in ldap module. 
     103 
    90104Revision 1.4  2003/04/30 20:00:51  jalet 
    91105Typo