Show
Ignore:
Timestamp:
09/27/08 22:02:37 (16 years ago)
Author:
jerome
Message:

Removed unnecessary spaces at EOL.

Files:
1 modified

Legend:

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

    r2835 r3413  
    33<chapter> 
    44  <title id="filter">PyKota's internals</title> 
    5    
     5 
    66  <para>Last modified on $Date: 2005-03-06 17:52:43 +0100 (dim, 06 mar 2005) $</para> 
    7    
     7 
    88  <para> 
    9     To account for pages or eventually ink usage  
     9    To account for pages or eventually ink usage 
    1010    <footnote> 
    1111      <para> 
    1212        PyKota doesn't currently account for ink usage, it only accounts 
    1313        pages. To account for ink usage, you should use PrintBill instead for now. 
    14       </para>   
    15     </footnote>   
     14      </para> 
     15    </footnote> 
    1616    , you must plug your accounting 
    1717    system somewhere into the printing system you use. One way to do this without having 
    1818    to modify the printing system itself, is by using a <firstterm>filter</firstterm>. 
    1919  </para> 
    20    
     20 
    2121  <para> 
    2222    A filter is a computer program which takes data in one format as its input, and outputs the 
    2323    same data but transformed into another format. <application>CUPS</application> already 
    24     contains many filters. For example there's one filter named <command>pstops</command> which accepts  
     24    contains many filters. For example there's one filter named <command>pstops</command> which accepts 
    2525    PostScript data as its input, and, as its name implies, outputs PostScript data too, but after having 
    2626    eventually rearranged the pages to fit several pages on a single sheet of paper, or other manipulations 
    2727    like that. 
    2828  </para> 
    29    
     29 
    3030  <para> 
    3131    The <command>pstops</command> filter described above is also in charge of doing basic page 
     
    3333    prove to be unreliable depending on the drivers used or if a paper jam occurs for example. 
    3434  </para> 
    35    
     35 
    3636  <para> 
    3737    So to do its own accounting, <application>PyKota</application> has its own filters, for <application>CUPS</application> 
    3838    it's named <command>cupspykota</command>, which is in fact a <application>CUPS</application> backends wrapper. 
    39     The procedure to plug the correct filter into your printing system is described in the  
     39    The procedure to plug the correct filter into your printing system is described in the 
    4040    <xref linkend="installation" endterm="installation"> chapter. 
    4141  </para> 
    42    
     42 
    4343  <para> 
    4444    Currently with <application>CUPS</application>' internal accounting mechanism, the <command>pstops</command> 
     
    4848    print job will be correctly accounted for. 
    4949  </para> 
    50    
     50 
    5151  <para> 
    5252    When using the <literal>hardware</literal> accounting method, 
    5353    <application>PyKota</application> launches the script you specified to 
    5454    ask the printer for its internal page counter at the start and at the end of the print job, and 
    55     computes the values' difference to know the job's size.  
     55    computes the values' difference to know the job's size. 
    5656  </para> 
    57    
     57 
    5858  <para> 
    5959    When using the <literal>software</literal> accounting method, 
    60     the command you specified is launched with the job's data on its  
     60    the command you specified is launched with the job's data on its 
    6161    standard input. Your command must print the job's size in number of 
    6262    pages on a single line on its standard output. This number is then 
    6363    read by <application>PyKota</application> and used to update the current user's quota information. 
    6464  </para> 
    65    
     65 
    6666  <para> 
    6767    If a problem occurs, it is logged either to the filter's standard error or to the system logger, depending on 
     
    7171    messages if you want. 
    7272  </para> 
    73    
     73 
    7474</chapter> 
    7575