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

    r2551 r3413  
    44  <title>Manage printers with pkprinters</title> 
    55  <para>Last modified on $Date$</para> 
    6    
     6 
    77  <para> 
    8     <command>pkprinters</command> is the preferred tool to manage printers in <application>PyKota</application>.   
     8    <command>pkprinters</command> is the preferred tool to manage printers in <application>PyKota</application>. 
    99    It only manages printers, and do it well. With it you can add or delete printers or printer groups, or modify 
    1010    existing printers or printers groups. This is also the tool to use to put printers into one or more printers groups. 
    11   </para>   
    12    
     11  </para> 
     12 
    1313  <para> 
    14     The very first thing you have to do once <application>PyKota</application> is installed but before it can work,  
     14    The very first thing you have to do once <application>PyKota</application> is installed but before it can work, 
    1515    is to add into <application>PyKota</application>'s database an entry for each of the print queues on 
    1616    which you want to have print quota or accounting. 
     
    1919    like full management of printers. 
    2020  </para> 
    21    
     21 
    2222  <para> 
    2323    Let's say your printing system has several print queues defined : <literal>HP2100</literal>, <literal>TekTro</literal>, 
    2424    and <literal>StylusColor1</literal> and <literal>StylusColor2</literal>. You want to charge 5 cents per page on each of this print queues. 
    2525    You just have to type : 
    26 <screen>     
     26<screen> 
    2727$ pkprinters --add --charge 0.05 HP2100 TekTro StylusColor1 StylusColor2 
    2828</screen> 
     
    3333    </warning> 
    3434  </para> 
    35    
     35 
    3636  <para> 
    37     After some minutes, you think that you should charge more on the <literal>StylusColor1</literal>  
    38     and <literal>StylusColor2</literal> because they can do color.  
     37    After some minutes, you think that you should charge more on the <literal>StylusColor1</literal> 
     38    and <literal>StylusColor2</literal> because they can do color. 
    3939    You also want to enter a description for these printers, because you have several 
    4040    of them : 
    41 <screen>     
     41<screen> 
    4242$ pkprinters --charge 0.25 "StylusColor*" 
    4343$ pkprinters --description "Stylus Color 900 First floor" StylusColor1 
     
    4545</screen> 
    4646  </para> 
    47    
     47 
    4848  <para> 
    4949    You can now verify what you did : 
    50 <screen>     
     50<screen> 
    5151$ pkprinters --list 
    5252HP2100 [] (0.0 + #*0.05) 
     
    5656</screen> 
    5757  </para> 
    58    
     58 
    5959  <para> 
    6060    The command above has listed all print queues present in <application>PyKota</application>'s database, 
    61     along with their optional description and their base cost formula.  
     61    along with their optional description and their base cost formula. 
    6262    The cost formula includes the price per job, <literal>0.0</literal> in our examples, 
    6363    and the price per page (<literal>#</literal> representing the number of pages). 
    6464  </para> 
    65    
     65 
    6666  <para> 
    6767    If you defined printers groups, then the total cost is computed as the recursive 
     
    7171    cost of printing on a particular printer for a particular user. 
    7272  </para> 
    73    
     73 
    7474  <sect1> 
    7575    <title>Reference</title> 
     
    8989          <arg>-c <replaceable>p</replaceable>,<replaceable>j</replaceable></arg> 
    9090          <arg>--charge <replaceable>p</replaceable>,<replaceable>j</replaceable></arg> 
    91         </group>   
     91        </group> 
    9292        <group choice="opt"> 
    9393          <arg>-g <replaceable>pgroup1</replaceable>,<replaceable>pgroup2</replaceable>,<replaceable>...</replaceable></arg> 
    9494          <arg>--groups <replaceable>pgroup1</replaceable>,<replaceable>pgroup2</replaceable>,<replaceable>...</replaceable></arg> 
    95         </group>   
     95        </group> 
    9696        <group choice="opt"><arg>-l</arg><arg>--list</arg></group> 
    9797        <group choice="opt"><arg>-r</arg><arg>--remove</arg></group> 
     
    100100          <arg>-m <replaceable>s</replaceable></arg> 
    101101          <arg>--maxjobsize <replaceable>s</replaceable></arg> 
    102         </group>   
     102        </group> 
    103103        <group choice="opt"><arg>-p</arg><arg>--passthrough</arg></group> 
    104104        <group choice="opt"><arg>-n</arg><arg>--nopassthrough</arg></group>