root / pykota / trunk / man / pt / edpykota.1 @ 2718

Revision 2713, 5.0 kB (checked in by jerome, 19 years ago)

Updated edpykota's manual page.

  • 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.35.
2.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"
3.SH NOM
4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial
5.SH DESCRIPTION
6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com
7.PP
8A Print Quota editor for PyKota.
9.PP
10command line usage :
11.IP
12edpykota [options] user1 user2 ... userN
13.IP
14edpykota [options] group1 group2 ... groupN
15.PP
16options :
17.TP
18\fB\-v\fR | \fB\-\-version\fR
19Prints edpykota's version number then exits.
20.TP
21\fB\-h\fR | \fB\-\-help\fR
22Prints this message then exits.
23.TP
24\fB\-a\fR | \fB\-\-add\fR
25Adds users or groups print quota entries if
26they don't exist in database.
27.TP
28\fB\-d\fR | \fB\-\-delete\fR
29Deletes users or groups print quota entries.
30Users or groups are never deleted, you have
31to use the pkusers command to delete them.
32.TP
33\fB\-P\fR | \fB\-\-printer\fR p
34Edit quotas on printer p only. Actually p can
35use wildcards characters to select only
36some printers. The default value is *, meaning
37all printers.
38You can specify several names or wildcards,
39by separating them with commas.
40.TP
41\fB\-g\fR | \fB\-\-groups\fR
42Edit groups print quota entries instead of
43users print quota entries.
44.TP
45\fB\-n\fR | \fB\-\-noquota\fR
46Sets both soft and hard limits to None for users
47or groups print quota entries.
48.TP
49\fB\-r\fR | \fB\-\-reset\fR
50Resets the actual page counter for the user
51or group to zero on the specified printers.
52The life time page counter is kept unchanged.
53.TP
54\fB\-R\fR | \fB\-\-hardreset\fR
55Resets the actual and life time page counters
56for the user or group to zero on the specified
57printers. This is a shortcut for '\-\-used 0'.
58.TP
59\fB\-S\fR | \fB\-\-softlimit\fR sl
60Sets the quota soft limit to sl pages.
61.TP
62\fB\-H\fR | \fB\-\-hardlimit\fR hl
63Sets the quota hard limit to hl pages.
64.TP
65\fB\-I\fR | \fB\-\-increase\fR v
66Increase existing Soft and Hard limits by the value
67of v. You can prefix v with + or \-, if no sign is
68used, + is assumed.
69.TP
70\fB\-U\fR | \fB\-\-used\fR u
71Sets the page counters for the user u pages on
72the selected printers. Doesn't work for groups, since
73their page counters are the sum of all their members'
74page counters.
75Useful for migrating users from a different system
76where they have already used some pages. Actual
77and Life Time page counters may be increased or decreased
78if u is prefixed with + or \-.
79WARNING : BOTH page counters are modified in all cases,
80so be careful.
81NB : if u equals '0', then the action taken is
82the same as if \fB\-\-hardreset\fR was used.
83.IP
84user1 through userN and group1 through groupN can use wildcards
85if the \fB\-\-add\fR option is not set.
86.PP
87examples :
88.IP
89\f(CW$ edpykota --add john paul george ringo\fR
90.IP
91This will create print quota entries for users john, paul, george
92and ringo on all printers. These print quota entries will have no
93limit set.
94.IP
95\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR
96.IP
97This will set jerome's print quota on the lp printer to a soft limit
98of 50 pages, and a hard limit of 60 pages. Both user jerome and
99printer lp have been previously created with the pkusers and pkprinters
100commands, respectively.
101.IP
102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR
103.IP
104This will set print quota soft limit to 500 pages and hard limit
105to 550 pages for groups financial and support on all printers.
106.IP
107\f(CW$ edpykota --reset jerome "jo*"\fR
108.IP
109This will reset jerome's page counter to zero on all printers, as
110well as every user whose name begins with 'jo'.
111Their life time page counter on each printer will be kept unchanged.
112You can also reset the life time page counters by using the
113\fB\-\-hardreset\fR | \fB\-R\fR command line option.
114.IP
115\f(CW$ edpykota --printer hpcolor --noquota jerome\fR
116.IP
117This will tell PyKota to not limit jerome when printing on the
118hpcolor printer. All his jobs will be allowed on this printer, but
119accounting of the pages he prints will still be kept.
120Print Quotas for jerome on other printers are unchanged.
121.IP
122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR
123.IP
124This will delete users jerome and rachel's print quota
125entries on all printers which name begin with 'HP' or
126\&'XER'. The jobs printed by these users on these printers
127will be deleted from the history.
128.PP
129This program is free software; you can redistribute it and/or modify
130it under the terms of the GNU General Public License as published by
131the Free Software Foundation; either version 2 of the License, or
132(at your option) any later version.
133.PP
134This program is distributed in the hope that it will be useful,
135but WITHOUT ANY WARRANTY; without even the implied warranty of
136MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
137GNU General Public License for more details.
138.PP
139You should have received a copy of the GNU General Public License
140along with this program; if not, write to the Free Software
141Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA.
142.PP
143Please report bugs to : Jerome Alet \- alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.