root / pykota / trunk / man / fr / edpykota.1 @ 1827

Revision 1827, 7.1 kB (checked in by jalet, 20 years ago)

Added internationalized manual pages (most are NOT YET translated)

  • 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.33.
2.TH EDPYKOTA "1" "octobre 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"
3.SH NOM
4edpykota \- page de manuel de edpykota 1.20alpha25_unofficial
5.SH DESCRIPTION
6edpykota v1.20alpha25_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres
7Un �teur de quotas pour PyKota.
8.PP
9ligne de commande :
10.IP
11edpykota [options] utilisateur1 utilisateur2 ... utilisateurN
12.IP
13edpykota [options] groupe1 groupe2 ... groupeN
14.PP
15options :
16.TP
17\fB\-v\fR | \fB\-\-version\fR
18Affiche la version d'edpykota et quitte.
19.TP
20\fB\-h\fR | \fB\-\-help\fR
21Affiche ce message et quitte.
22.TP
23\fB\-a\fR | \fB\-\-add\fR
24Ajoute des utilisateurs et/ou des imprimantes
25s'ils n'existent pas d� dans la base de donn�.
26.TP
27\fB\-d\fR | \fB\-\-delete\fR
28Efface des utilisateurs ou des groupes depuis
29la base de donn�.                       Les imprimantes ne sont jamais effac�.
30.TP
31\fB\-c\fR | \fB\-\-charge\fR p[,j]
32Positionne le co�r page et par travail
33sur l'imprimante. Le prix par travail est optionel.
34Si les deux sont positionn� il faut les s�rer
35par une virgule. Les nombres r�s sont autoris�
36.TP
37\fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] Place les utilisateurs dans chacun des groupes
38list� separ�par des virgules. Les groupes
39doivent d� exister dans la base de donn�.
40.TP
41\fB\-u\fR | \fB\-\-users\fR
42Modifie les quotas utilisateur, c'est la valeur
43par d�ut.
44.TP
45\fB\-P\fR | \fB\-\-printer\fR p
46Modifie les quotas sur l'imprimante p seulement.
47En fait p peut contenir des caract�s jokers
48pour s�ctionner seulement certaines imprimantes.
49La valeur par d�ut est *, qui signifie toutes les
50imprimantes.
51Vous pouvez sp�fier plusieurs noms ou jokers,
52en les s�rant avec des virgules.
53.TP
54\fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups
55pg1, pg2, etc... which must already exist.
56A printer group is just like a normal printer,
57only that it is usually unknown from the printing
58system. Create printer groups exactly the same
59way that you create printers, then add other
60printers to them with this option.
61Accounting is done on a printer and on all
62the printer groups it belongs to, quota checking
63is done on a printer and on all the printer groups
64it belongs to.
65.TP
66\fB\-g\fR | \fB\-\-groups\fR
67Edit users groups print quotas instead of users.
68.TP
69\fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set
70print quotas
71.TP
72\fB\-n\fR | \fB\-\-noquota\fR
73Doesn't set a quota but only does accounting.
74.TP
75\fB\-r\fR | \fB\-\-reset\fR
76Resets the actual page counter for the user
77or group to zero on the specified printers.
78The life time page counter is kept unchanged.
79.TP
80\fB\-R\fR | \fB\-\-hardreset\fR
81Resets the actual and life time page counters
82for the user or group to zero on the specified
83printers.
84.TP
85\fB\-l\fR | \fB\-\-limitby\fR l
86Choose if the user/group is limited in printing
87by its account balance or by its page quota.
88The default value is 'quota'. Allowed values
89are 'quota' 'balance' 'quota-then-balance' and
90\&'balance-then-quota'.
91WARNING : quota-then-balance and balance-then-quota
92are not yet implemented.
93.TP
94\fB\-b\fR | \fB\-\-balance\fR b
95Sets the user's account balance to b.
96Account balance may be increase or decreased
97if b is prefixed with + or -.
98WARNING : when decreasing account balance,
99the total paid so far by the user is decreased
100too.
101Groups don't have a real balance, but the
102sum of their users' account balance.
103.TP
104\fB\-S\fR | \fB\-\-softlimit\fR sl
105Sets the quota soft limit to sl pages.
106.TP
107\fB\-H\fR | \fB\-\-hardlimit\fR hl
108Sets the quota hard limit to hl pages.
109.IP
110user1 through userN and group1 through groupN can use wildcards
111if the \fB\-\-add\fR option is not set.
112.PP
113examples :
114.IP
115\f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR
116.IP
117This will add users john, paul, george and ringo to the quota
118database, and set their print quotas to the same values than user
119jerome. User jerome must already exist.
120User ringo's email address will also be set to 'ringo@example.com'
121.IP
122\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR
123.IP
124This will set jerome's print quota on the lp printer to a soft limit
125of 50 pages, and a hard limit of 60 pages. If either user jerome or
126printer lp doesn't exist on the Quota Storage Server then nothing is done.
127.IP
128\f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR
129.IP
130Same as above, but if either user jerome or printer lp doesn't exist
131on the Quota Storage Server they are automatically added. Also
132user jerome is put into the groups "coders" and "it" which must
133already exist in the Quota Storage.
134.IP
135\f(CW$ edpykota -g -S 500 -H 550 financial support\fR
136.IP
137This will set print quota soft limit to 500 pages and hard limit
138to 550 pages for groups financial and support on all printers.
139.IP
140\f(CW$ edpykota --reset jerome "jo*"\fR
141.IP
142This will reset jerome's page counter to zero on all printers, as
143well as every user whose name begins with 'jo'.
144Their life time page counter on each printer will be kept unchanged.
145You can also reset the life time page counters by using the
146\fB\-\-hardreset\fR | \fB\-R\fR command line option.
147.IP
148\f(CW$ edpykota --printer hpcolor --noquota jerome\fR
149.IP
150This will tell PyKota to not limit jerome when printing on the
151hpcolor printer. All his jobs will be allowed on this printer, but
152accounting of the pages he prints will still be kept.
153Print Quotas for jerome on other printers are unchanged.
154.IP
155\f(CW$ edpykota --limitby balance jerome\fR
156.IP
157This will tell PyKota to limit jerome by his account's balance
158when printing.
159.IP
160\f(CW$ edpykota --balance +10.0 jerome\fR
161.IP
162This will increase jerome's account balance by 10.0 (in your
163own currency). You can decrease the account balance with a
164dash prefix, and set it to a fixed amount with no prefix.
165.IP
166\f(CW$ edpykota --delete jerome rachel\fR
167.IP
168This will completely delete jerome and rachel from the Quota Storage
169database. All their quotas and jobs will be deleted too.
170.IP
171\f(CW$ edpykota --printer lp --charge 0.1\fR
172.IP
173This will set the page price for printer lp to 0.1. Job price
174will not be changed.
175.IP
176\f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR
177.IP
178This will put printers hplj1 and hplj2 in printers groups Laser and HP.
179When printing either on hplj1 or hplj2, print quota will also be
180checked and accounted for on virtual printers Laser and HP.
181.PP
182This program is free software; you can redistribute it and/or modify
183it under the terms of the GNU General Public License as published by
184the Free Software Foundation; either version 2 of the License, or
185(at your option) any later version.
186.PP
187This program is distributed in the hope that it will be useful,
188but WITHOUT ANY WARRANTY; without even the implied warranty of
189MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
190GNU General Public License for more details.
191.PP
192You should have received a copy of the GNU General Public License
193along with this program; if not, write to the Free Software
194Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
195.PP
196Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.