root / pykota / trunk / man / edpykota.1 @ 935

Revision 935, 5.6 kB (checked in by jalet, 21 years ago)

Manual pages updated

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.29.
2.TH EDPYKOTA "1" "April 2003" "edpykota 1.03beta2-unofficial" "PyKota Print Quota System"
3.SH NAME
4edpykota \- manual page for edpykota 1.03beta2-unofficial
5.SH DESCRIPTION
6edpykota v1.03beta2-unofficial (C) 2003 C@LL - Conseil Internet & Logiciels Libres
7A Print Quota editor for PyKota.
8.PP
9command line usage :
10.IP
11edpykota [options] user1 user2 ... userN
12edpykota [options] group1 group2 ... groupN
13.PP
14options :
15.TP
16\fB\-v\fR | \fB\-\-version\fR
17Prints edpykota's version number then exits.
18.TP
19\fB\-h\fR | \fB\-\-help\fR
20Prints this message then exits.
21.TP
22\fB\-a\fR | \fB\-\-add\fR
23Adds users and/or printers if they don't
24exist on the Quota Storage Server.
25.TP
26\fB\-d\fR | \fB\-\-delete\fR
27Deletes users/groups from the quota storage.
28Printers are never deleted.
29.TP
30\fB\-c\fR | \fB\-\-charge\fR p[,j]
31Sets the price per page and per job to charge
32for a particular printer. Job price is optional.
33If both are to be set, separate them with a comma.
34Floating point values are allowed.
35.TP
36\fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...]
37Puts the users into each of the groups
38listed, separated by commas. The groups
39must already exist in the Quota Storage.
40.TP
41\fB\-u\fR | \fB\-\-users\fR
42Edit users print quotas, this is the default.
43.TP
44\fB\-P\fR | \fB\-\-printer\fR p
45Edit quotas on printer p only. Actually p can
46use wildcards characters to select only
47some printers. The default value is *, meaning
48all printers.
49.TP
50\fB\-g\fR | \fB\-\-groups\fR
51Edit groups print quotas instead of users.
52.TP
53\fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set
54print quotas
55.TP
56\fB\-n\fR | \fB\-\-noquota\fR
57Doesn't set a quota but only does accounting.
58.TP
59\fB\-r\fR | \fB\-\-reset\fR
60Resets the printed page counter for the user
61or group to zero. The life time page counter
62is kept unchanged.
63.TP
64\fB\-l\fR | \fB\-\-limitby\fR l
65Choose if the user/group is limited in printing
66by its account balance or by its page quota.
67The default value is 'quota'. Allowed values
68are 'quota' and 'balance'.
69.TP
70\fB\-b\fR | \fB\-\-balance\fR b
71Sets the user's account balance to b.
72Account balance may be increase or decreased
73if b is prefixed with + or -.
74WARNING : when decreasing account balance,
75the total paid so far by the user is decreased
76too.
77Groups don't have a real balance, but the
78sum of their users' account balance.
79.TP
80\fB\-S\fR | \fB\-\-softlimit\fR sl
81Sets the quota soft limit to sl pages.
82.TP
83\fB\-H\fR | \fB\-\-hardlimit\fR hl
84Sets the quota hard limit to hl pages.
85.IP
86user1 through userN and group1 through groupN can use wildcards
87if the \fB\-\-add\fR option is not set.
88.PP
89examples :
90.IP
91\f(CW$ edpykota -p jerome john paul george ringo\fR
92.IP
93This will set print quotas for the users john, paul, george and ringo
94to the same values than user jerome. User jerome must exist.
95.IP
96\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR
97.IP
98This will set jerome's print quota on the lp printer to a soft limit
99of 50 pages, and a hard limit of 60 pages. If either user jerome or
100printer lp doesn't exist on the Quota Storage Server then nothing is done.
101.IP
102\f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR
103.IP
104Same as above, but if either user jerome or printer lp doesn't exist
105on the Quota Storage Server they are automatically added. Also
106user jerome is put into the groups "coders" and "it" which must
107already exist in the Quota Storage.
108WARNING : the CUPS PPD file for this printer must still be modified
109.IP
110manually, as well as pykota's configuration file for a
111new printer to be managed successfully.
112.IP
113\f(CW$ edpykota -g -S 500 -H 550 financial support\fR
114.IP
115This will set print quota soft limit to 500 pages and hard limit
116to 550 pages for groups financial and support on all printers.
117.IP
118\f(CW$ edpykota --reset jerome "jo*"\fR
119.IP
120This will reset jerome's page counter to zero on all printers, as
121well as every user whose name begins with 'jo'.
122Their life time page counter on each printer will be kept unchanged.
123.IP
124\f(CW$ edpykota --printer hpcolor --noquota jerome\fR
125.IP
126This will tell PyKota to not limit jerome when printing on the
127hpcolor printer. All his jobs will be allowed on this printer, but
128accounting of the pages he prints will still be kept.
129Print Quotas for jerome on other printers are unchanged.
130.IP
131\f(CW$ edpykota --limitby balance jerome\fR
132.IP
133This will tell PyKota to limit jerome by his account's balance
134when printing.
135.IP
136\f(CW$ edpykota --balance +10.0 jerome\fR
137.IP
138This will increase jerome's account balance by 10.0 (in your
139own currency). You can decrease the account balance with a
140dash prefix, and set it to a fixed amount with no prefix.
141.IP
142\f(CW$ edpykota --delete jerome rachel\fR
143.IP
144This will completely delete jerome and rachel from the Quota Storage
145database. All their quotas and jobs will be deleted too.
146.IP
147\f(CW$ edpykota --printer lp --charge 0.1\fR
148.IP
149This will set the page price for printer lp to 0.1. Job price
150will not be changed.
151.PP
152This program is free software; you can redistribute it and/or modify
153it under the terms of the GNU General Public License as published by
154the Free Software Foundation; either version 2 of the License, or
155(at your option) any later version.
156.PP
157This program is distributed in the hope that it will be useful,
158but WITHOUT ANY WARRANTY; without even the implied warranty of
159MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
160GNU General Public License for more details.
161.PP
162You should have received a copy of the GNU General Public License
163along with this program; if not, write to the Free Software
164Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
165.PP
166Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.