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

    r2909 r3413  
    44  <title id="pykotme">Get print quotes before printing for real with <command>pykotme</command></title> 
    55  <para>Last modified on $Date$</para> 
    6    
     6 
    77  <para> 
    88    PyKota features a print quote generator, named <command>pykotme</command>. 
     
    1212    knowingly. 
    1313  </para> 
    14    
     14 
    1515  <para> 
    1616    To get a print quote, you have to launch <command>pykotme</command> 
    1717    from the command line, passing your print job's content in any format 
    18     recognized by PyKota  
     18    recognized by PyKota 
    1919    <footnote><para>PyKota now uses <ulink url="http://www.pykota.com/software/pkpgcounter">pkpgcounter</ulink> 
    2020    which recognizes PostScript (both binary and DSC compliant), 
     
    2323    or on its standard input (i.e. in a shell pipe or redirection). 
    2424  </para> 
    25    
     25 
    2626  <para> 
    2727    Without any command line argument, <command>pykotme</command> 
    2828    automatically reads your job's data from its standard input. 
    2929  </para> 
    30    
     30 
    3131  <para> 
    3232    By default, <command>pykotme</command> 
     
    3838    them with commas. 
    3939  </para> 
    40    
     40 
    4141  <para> 
    4242    <command>pykotme</command>'s functionnality is also available through the 
     
    4444    However without authentication <command>pykotme.cgi</command> will only 
    4545    return the print job's size and not its cost, because the cost depends on 
    46     the value of the user's overcharging factor and the printer being used.  
    47     That's why if you want to  
    48     obtain the same functionnality with the <acronym>CGI</acronym> script than  
     46    the value of the user's overcharging factor and the printer being used. 
     47    That's why if you want to 
     48    obtain the same functionnality with the <acronym>CGI</acronym> script than 
    4949    with the command line tool, you must configure your web server to force 
    5050    users to authenticate whevenver they access to <command>pykotme.cgi</command>. 
    51     Then they will be able to choose one or more printers (all by default),  
     51    Then they will be able to choose one or more printers (all by default), 
    5252    and also to enter their username, 
    5353    and the exact cost of the print job will be computed. 
    5454  </para> 
    55    
     55 
    5656  <sect1> 
    5757    <title>Examples</title> 
     
    5959      Here are some examples of <command>pykotme</command> usage. 
    6060    </para> 
    61      
     61 
    6262    <para> 
    6363      The simplest form : 
    64 <screen>     
     64<screen> 
    6565port50-2:~$ pykotme pykota.ps 
    6666Your account balance : 16.25 
    6767Job size : 22 pages 
    6868Cost on printer apple : 1.35 
    69 port50-2:~$  
    70 </screen>     
     69port50-2:~$ 
     70</screen> 
    7171    </para> 
    72      
     72 
    7373    <para> 
    7474      More complex, with printer name wildcard and within a pipe : 
    75 <screen>       
     75<screen> 
    7676port50-2:~$ a2ps -o - pykota/README | pykotme --printer "a*" 
    7777[pykota/README (plain): 6 pages on 3 sheets] 
     
    8080Job size : 3 pages 
    8181Cost on printer apple : 0.40 
    82 port50-2:~$  
     82port50-2:~$ 
    8383</screen> 
    8484    </para> 
    8585  </sect1> 
    86    
     86 
    8787  <sect1> 
    8888    <title>Reference</title> 
     
    9595          <arg>-P <replaceable>printername</replaceable></arg> 
    9696          <arg>--printer <replaceable>printername</replaceable></arg> 
    97         </group>   
     97        </group> 
    9898        <group choice="opt"> 
    9999          <arg><replaceable>filename1</replaceable></arg> 
     
    101101          <arg><replaceable>...</replaceable></arg> 
    102102          <arg><replaceable>filenameN</replaceable></arg> 
    103         </group>   
     103        </group> 
    104104      </cmdsynopsis> 
    105105    </para>