root / pykota / trunk / docs / edpykota.sgml @ 2394

Revision 2237, 4.3 kB (checked in by jerome, 20 years ago)

1.22 Final.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!-- $Id$ -->
2
3<chapter>
4  <title id="edpykota">Manage the Print Quota DataBase with edpykota</title>
5  <para>Last modified on $Date$</para>
6 
7  <para>
8    <command>edpykota</command> is the main command line tool with which you will
9    maintain your print quota database.
10  </para>
11 
12  <para>
13    You'll use this tool to create, manage or delete print quota entries for users
14    or users groups on printers or printers groups.
15  </para>
16 
17  <para>
18    By default, before being allowed to print through <application>PyKota</application>,
19    an user must exist in the database and have a print quota entry on every printer
20    he should be allowed to use. The simplest way to add an user named <literal>jerome</literal> to the database is
21    to type :
22<screen>    
23$ edpykota --add --noquota jerome
24</screen>
25  </para>
26 
27  <para>
28    The command above has created user <literal>jerome</literal> in the database, and has automatically
29    created print quota entries with no limit for this user on all existing printers. This means
30    that user <literal>jerome</literal> is allowed to print without limitation, but that full accounting
31    will still be done for this user : you'll know whenever he prints and how much.
32  </para>
33 
34  <para>
35    You can apply two sorts of print quotas to users : page quotas, and account balance quotas.
36    <itemizedlist>
37      <listitem>
38        <para>
39          Page quotas are defined for each user on each printer. This means that an user can be
40          limited to print more than 20 pages on printer <literal>HP2100</literal> while still
41          being allowed to print 500 pages on printer <literal>TekTro</literal>.
42        </para>
43      </listitem> 
44      <listitem>
45        <para>
46          Account balance quotas are defined once for each user. You give a number of credits
47          to an user, and whenever he prints on any printer, his number of credits diminishes
48          by the cost of the current print job, until his balance reaches 0.
49          In other terms, while page quotas are specific to a particular printer for a particular
50          user, account balance quotas are shared between all printers for a particular user.
51        </para>
52      </listitem> 
53    </itemizedlist> 
54    This means that you have to choose which type of quota you want for each user.
55    The default mode is page quotas, but if you pass <literal>--limitby balance</literal>
56    as command line options to <command>edpykota</command>, the users onto which the command
57    will apply will be limited by the value of their account instead of by a number of
58    pages.
59  </para>
60 
61  <para>
62    Here's an incomplete list of features :
63   
64    <itemizedlist>
65      <listitem>
66        <para>
67          Add printers (it's preferable to use the <command>pkprinters</command> command for this though) ;
68        </para>
69      </listitem>
70      <listitem>
71        <para>
72          Add and delete users and groups ;
73        </para>
74      </listitem>
75      <listitem>
76        <para>
77          Set users' account balances ;
78        </para>
79      </listitem>
80      <listitem>
81        <para>
82          Set users and groups print quotas on printers, eventually by using another user
83          or group as a template ;
84        </para>
85      </listitem>
86      <listitem>
87        <para>
88          Set price per page and price per job for printers (it's preferable to use the <command>pkprinters</command> command for this though) ;
89        </para>
90      </listitem>
91      <listitem>
92        <para>
93          Switch users or groups to or from <quote>account only</quote> mode (no quota enforcement) ;
94        </para>
95      </listitem>
96      <listitem>
97        <para>
98          Define hard and soft limits for users ou groups quotas, on a per printer basis ;
99        </para>
100      </listitem>
101      <listitem>
102        <para>
103          Choose the way you will limit printing : either by page quota or by account balance value ;
104        </para>
105      </listitem>
106      <listitem>
107        <para>
108          Reset page counters.
109        </para>
110      </listitem>
111      <listitem>
112        <para>
113          Etc...
114        </para>
115      </listitem>
116    </itemizedlist>
117  </para>
118 
119  <para>
120    For more details on the use of <command>edpykota</command>, please see this command's manual
121    page or help.
122  </para>
123 
124</chapter>
125
Note: See TracBrowser for help on using the browser.