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/scripts.sgml

    r2551 r3413  
    44  <title>Useful Shell Scripts</title> 
    55  <para>Last modified on $Date$</para> 
    6    
     6 
    77  <para> 
    88    <application>PyKota</application> comes with a number of shell scripts which 
     
    1010    them to your own configuration. All are installed in the <filename>/usr/share/pykota</filename> 
    1111    directory. 
    12   </para>   
    13    
     12  </para> 
     13 
    1414  <sect1> 
    1515    <title>waitprinter.sh</title> 
    1616    <para> 
    17       This script which accepts a printer's hostname or <acronym>IP</acronym> address as its first parameter  
     17      This script which accepts a printer's hostname or <acronym>IP</acronym> address as its first parameter 
    1818      is used to wait for a printer which supports the <acronym>SNMP</acronym> protocol to be in <literal>idle</literal> state. 
    1919      It exits as soon as the printer is <literal>idle</literal>, else loops forever. 
    2020    </para> 
    21      
     21 
    2222    <para> 
    2323      When defining an hardware <literal>accounter</literal> for a printer, it is important to wait for the printer being 
     
    2626      value will be lower than expected with regard to the real job's size. 
    2727    </para> 
    28      
     28 
    2929    <para> 
    3030      <command>waitprinter.sh</command> can be used to be sure that <application>PyKota</application> 
    31       waits until no job is being printed, and no paper sheet is travelling inside the printer.  
     31      waits until no job is being printed, and no paper sheet is travelling inside the printer. 
    3232    </para> 
    33      
     33 
    3434    <tip> 
    3535      <title>Tip</title> 
     
    3737        See the sample configuration file <filename>conf/pykota.conf.sample</filename> for examples. 
    3838      </para> 
    39     </tip>   
     39    </tip> 
    4040  </sect1> 
    41    
     41 
    4242  <sect1> 
    4343    <title>papwaitprinter.sh</title> 
    4444    <para> 
    45       This script which accepts a printer's AppleTalk name as its first parameter  
     45      This script which accepts a printer's AppleTalk name as its first parameter 
    4646      is used to wait for a printer which supports the <acronym>AppleTalk</acronym> protocol to be in <literal>idle</literal> state. 
    4747      It exits as soon as the printer is <literal>idle</literal>, else loops forever. 
    4848    </para> 
    49      
     49 
    5050    <para> 
    5151      When defining an hardware <literal>accounter</literal> for a printer, it is important to wait for the printer being 
     
    5454      value will be lower than expected with regard to the real job's size. 
    5555    </para> 
    56      
     56 
    5757    <para> 
    5858      <command>papwaitprinter.sh</command> can be used to be sure that <application>PyKota</application> 
    59       waits until no job is being printed, and no paper sheet is travelling inside the printer.  
    60     </para>   
    61      
     59      waits until no job is being printed, and no paper sheet is travelling inside the printer. 
     60    </para> 
     61 
    6262    <tip> 
    6363      <title>Tip</title> 
     
    6565        See the sample configuration file <filename>conf/pykota.conf.sample</filename> for examples. 
    6666      </para> 
    67     </tip>   
     67    </tip> 
    6868  </sect1> 
    69    
     69 
    7070  <sect1> 
    7171    <title>mailandpopup.sh</title> 
     
    7575      whenever print quota is low or reached. 
    7676    </para> 
    77      
     77 
    7878    <para> 
    79       For this script to work successfully, you may need to have a <application>Samba</application>  
     79      For this script to work successfully, you may need to have a <application>Samba</application> 
    8080      Primary Domain Controller. Some modifications may be needed in other configurations. 
    8181    </para> 
    82      
     82 
    8383    <tip> 
    8484      <title>Tip</title> 
     
    8686        See the sample configuration file <filename>conf/pykota.conf.sample</filename> for examples. 
    8787      </para> 
    88     </tip>   
     88    </tip> 
    8989  </sect1> 
    90    
     90 
    9191  <sect1> 
    9292    <title>pagecount.pl</title> 
     
    9797      It accepts the printer's hostname or <acronym>IP</acronym> address as its first parameter, 
    9898      and the optional <acronym>TCP</acronym> port as its second parameter (it defaults to 9100). 
    99     </para>   
    100      
     99    </para> 
     100 
    101101    <para> 
    102102      Most of the time you'll use this script in combination with a script which waits for the printer 
    103103      to be in <literal>idle</literal> state, in something like : 
    104 <screen>       
     104<screen> 
    105105accounter: hardware(somewaitscript.sh && pagecount.pl %(printer)s) 
    106106</screen> 
    107107    </para> 
    108      
     108 
    109109    <tip> 
    110110      <title>Tip</title> 
     
    112112        See the sample configuration file <filename>conf/pykota.conf.sample</filename> for examples. 
    113113      </para> 
    114     </tip>   
     114    </tip> 
    115115  </sect1> 
    116116</chapter>