Changeset 2713
- Timestamp:
- 02/20/06 21:20:01 (19 years ago)
- Location:
- pykota/trunk/man
- Files:
-
- 14 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/man/de/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "February 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NAME 4 edpykota \- manual page for edpykota 1.24alpha1 0_unofficial4 edpykota \- manual page for edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/el_GR/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/es/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/fr/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 Un �teur de quotas pour PyKota.8 A Print Quota editor for PyKota. 9 9 .PP 10 ligne de commande :10 command line usage : 11 11 .IP 12 edpykota [options] u tilisateur1 utilisateur2 ... utilisateurN12 edpykota [options] user1 user2 ... userN 13 13 .IP 14 edpykota [options] group e1 groupe2 ... groupeN14 edpykota [options] group1 group2 ... groupN 15 15 .PP 16 16 options : 17 17 .TP 18 18 \fB\-v\fR | \fB\-\-version\fR 19 Affiche la version d'edpykota et quitte.19 Prints edpykota's version number then exits. 20 20 .TP 21 21 \fB\-h\fR | \fB\-\-help\fR 22 Affiche ce message et quitte.22 Prints this message then exits. 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 A joute des utilisateurs et/ou des imprimantes26 s'ils n'existent pas d� dans la base de donn�.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Efface des utilisateurs ou des groupes depuis 30 la base de donn�. Les imprimantes ne sont jamais effac�. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Positionne le co�r page et par travail 34 sur l'imprimante. Le prix par travail est optionel. 35 Si les deux sont positionn� il faut les s�rer 36 par une virgule. Les nombres r�s sont autoris� 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Positionne le facteur de surtaxe qui sera appliqu� 40 l'utilisateur lors du calcul du co�un travail 41 d'impression. Les valeurs r�les positives ou 42 n�tives sont autoris�, ce qui permet de faire 43 des choses tr�cr�ives comme donner de l'argent 44 �n utilisateur chaque fois qu'il imprime. 45 Le nombre de pages d'un travail d'impression n'est 46 pas modifi�ar ce coefficient, seulement le co� 47 travail pour un utilisateur particulier. 48 Seuls les utilisateurs ont un tel coefficient. 49 .TP 50 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] Place les utilisateurs dans chacun des groupes 51 list� separ�par des virgules. Les groupes 52 doivent d� exister dans la base de donn�. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Modifie les quotas utilisateur, c'est la valeur 56 par d�ut. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 57 32 .TP 58 33 \fB\-P\fR | \fB\-\-printer\fR p 59 Modifie les quotas sur l'imprimante p seulement. 60 En fait p peut contenir des caract�s jokers 61 pour s�ctionner seulement certaines imprimantes. 62 La valeur par d�ut est *, qui signifie toutes les 63 imprimantes. 64 Vous pouvez sp�fier plusieurs noms ou jokers, 65 en les s�rant avec des virgules. 66 .TP 67 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Ajoute l'imprimante aux groupes d'imprimantes 68 pg1, pg2, etc... qui doivent d� exister. 69 Un groupe d'imprimantes est comme une imprimante 70 normale, sauf que celle\-ci est inconnue du syst� 71 d'impression. On cr�des groupes d'imprimantes de la 72 m� mani� que des imprimantes normales, et ensuite 73 on y ajoute d'autres imprimantes avec cette option. 74 Le d�mpte est fait sur une imprimante et sur tous 75 les groupes d'imprimantes auxquels elle appartient, 76 la v�fication de quota est faite sur une imprimante 77 et sur tous les groupes d'imprimantes auxquels elle 78 appartient. 34 Edit quotas on printer p only. Actually p can 35 use wildcards characters to select only 36 some printers. The default value is *, meaning 37 all printers. 38 You can specify several names or wildcards, 39 by separating them with commas. 79 40 .TP 80 41 \fB\-g\fR | \fB\-\-groups\fR 81 Modifie les quotas de groupes plut�ue ceux des 82 utilisateurs. 83 .TP 84 \fB\-p\fR | \fB\-\-prototype\fR u|g Prend l'utilisateur u ou le groupe g comme mod� 85 pour positionner le quota d'impression. 42 Edit groups print quota entries instead of 43 users print quota entries. 86 44 .TP 87 45 \fB\-n\fR | \fB\-\-noquota\fR 88 Fixe les limites souples et dures �one pour une 89 entr�de quota d'impression particuli�. 90 NE FAIT PAS la m� chose que \fB\-\-limitby\fR noquota qui 91 agit sur toutes les entr� de quotas d'impression 92 d'un utilisateur donn�.TP 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 48 .TP 93 49 \fB\-r\fR | \fB\-\-reset\fR 94 Re met �� le compteur de pages courant pour95 l'utilisateur ou le groupe sur les imprimantes 96 sp�fi�.97 Le compteur de pages '�rnel' est inchang�.TP50 Resets the actual page counter for the user 51 or group to zero on the specified printers. 52 The life time page counter is kept unchanged. 53 .TP 98 54 \fB\-R\fR | \fB\-\-hardreset\fR 99 Remet �� les compteurs de pages courant et 100 \&'�rnel' pour l'utilisateur ou le groupe sur les 101 imprimantes sp�fi�. Ceci est un raccourci 102 pour '\-\-used 0'. 103 .TP 104 \fB\-l\fR | \fB\-\-limitby\fR l 105 D�nit le facteur de limitation pour l'utilisateur 106 ou le groupe : soit par le solde du compte (balance), 107 soit par le quota par pages. 108 La valeur par d�ut est 'quota'. Les valeurs 109 autoris� sont 'quota' 'balance' 'noquota' 'noprint' 110 et 'nochange' : 111 .IP 112 \- quota : limite par le nombre de pages sur chaque 113 .IP 114 imprimante. 115 .IP 116 \- balance : limite par le nombre de cr�ts. 117 \- noquota : aucune limite, d�mpte effectu�\- nochange : aucune limite, d�mpte non effectu�\- noprint : imprimer est interdit. 118 .IP 119 NB : nochange et noprint ne sont pas support�pour 120 .IP 121 les groupes. 122 .TP 123 \fB\-b\fR | \fB\-\-balance\fR b 124 Fixe le solde de l'utiliateur �a valeur b. 125 Le solde peut aussi �e incr�nt�u d��nt�i b est pr�d�'un signe + ou \-. 126 ATTENTION : si on d��nte le solde, le total 127 r��ar l'utilisateur est d��nt�ussi. 128 Les groupes n'ont pas de solde, leur solde est la 129 somme des soldes des utilisateurs membres. 55 Resets the actual and life time page counters 56 for the user or group to zero on the specified 57 printers. This is a shortcut for '\-\-used 0'. 130 58 .TP 131 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 132 Fixe la limite souple �l pages.60 Sets the quota soft limit to sl pages. 133 61 .TP 134 62 \fB\-H\fR | \fB\-\-hardlimit\fR hl 135 Fixe la limite dure �l pages.63 Sets the quota hard limit to hl pages. 136 64 .TP 137 65 \fB\-I\fR | \fB\-\-increase\fR v 138 Incr�nte �a fois les limites souple et dure de la 139 valeur de v. Vous pouvez pr�xer v avec + ou \-, si 140 aucun signe n'est pr�nt, + est utilis�.TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Positionne les compteurs de pages de l'utilisateur �a valeur usage; utile pour migrer des utilisateurs 143 depuis un logiciel diff�nt dans lequel ils ont d� 144 imprim�uelques pages. Les compteurs de pages actuels 145 et globaux peuvent �e incr�nt�ou d��nt�si 146 usage est pr�x�'un signe + ou \-. 147 ATTENTION : LES DEUX compteurs de pages sont modifi�dans tous les cas, donc soyez prudents. 148 NB : si 'usage' vaut '0', alors l'action effectu�est identique �elle effectu�avec \fB\-\-hardreset\fR. 66 Increase existing Soft and Hard limits by the value 67 of v. You can prefix v with + or \-, if no sign is 68 used, + is assumed. 69 .TP 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 76 where they have already used some pages. Actual 77 and Life Time page counters may be increased or decreased 78 if u is prefixed with + or \-. 79 WARNING : BOTH page counters are modified in all cases, 80 so be careful. 81 NB : if u equals '0', then the action taken is 82 the same as if \fB\-\-hardreset\fR was used. 149 83 .IP 150 les noms d'utilisateurs ou de groupes peuvent contenir des caract�s151 joker si l'option \fB\-\-add\fR n'est pas utilis� 84 user1 through userN and group1 through groupN can use wildcards 85 if the \fB\-\-add\fR option is not set. 152 86 .PP 153 ex emples :87 examples : 154 88 .IP 155 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 156 90 .IP 157 Ceci va ajouter les utilisateurs john, paul, george and ringo �a base 158 de donn�, et fixer leur quota par pages �a m� valeur que 159 l'utilisateur jerome. L'utilisateur jerome doit exister. 160 L'adresse email de ringo sera fix��ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 161 94 .IP 162 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 163 96 .IP 164 Ceci va fixer une limite souple de 50 pages et une limite dure de 60 pages 165 pour l'utilisteur jerome sur l'imprimante lp. 166 Si l'utilisateur jerome ou l'imprimante lp n'existent pas dans la base de 167 donn�alors aucune modification n'est effectu� 168 .IP 169 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 170 .IP 171 Comme ci\-dessus, mais l'utilisateur jerome et l'imprimante lp sont ajout�automatiquement s'ils n'existaient pas. L'utilisateur jerome est aussi 172 ajout�aux groupes "coders" et "it" quoi doivent d� exister dans 173 la base de donn�. 97 This will set jerome's print quota on the lp printer to a soft limit 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 174 101 .IP 175 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR 176 103 .IP 177 Ceci va fixer une limite souple de 500 pages et une limite dure de 550 178 pages pour les groupes financial et support sur toutes les imprimantes.104 This will set print quota soft limit to 500 pages and hard limit 105 to 550 pages for groups financial and support on all printers. 179 106 .IP 180 107 \f(CW$ edpykota --reset jerome "jo*"\fR 181 108 .IP 182 Ceci va remettre �� le compteur de pages courant de jerome sur toutes183 les imprimantes, ainsi que pour chaque utilisateur dont le nom commence 184 par 'jo'.185 Leurs compteurs '�rnels' ne seront pas modifi� 186 Vous pouvez �lement remettre �� les compteurs '�rnels' gr� �'option \fB\-\-hardreset\fR | \fB\-R\fR de la ligne de commande.109 This will reset jerome's page counter to zero on all printers, as 110 well as every user whose name begins with 'jo'. 111 Their life time page counter on each printer will be kept unchanged. 112 You can also reset the life time page counters by using the 113 \fB\-\-hardreset\fR | \fB\-R\fR command line option. 187 114 .IP 188 115 \f(CW$ edpykota --printer hpcolor --noquota jerome\fR 189 116 .IP 190 Ceci indique �yKota de ne pas limiter jerome lorsqu'il va imprimer 191 sur l'imprimante hpcolor. Tous ses travaux seront autoris�sur cette 192 imprimantes, mais la comptabilit�e ses impressions sera quand m� 193 tenue. Les quotas des autres utilisateurs sont inchang� 117 This will tell PyKota to not limit jerome when printing on the 118 hpcolor printer. All his jobs will be allowed on this printer, but 119 accounting of the pages he prints will still be kept. 120 Print Quotas for jerome on other printers are unchanged. 194 121 .IP 195 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 196 123 .IP 197 Ceci indique �yKota de limiter jerome par le solde de son compte 198 lorsqu'il imprime. 199 .IP 200 \f(CW$ edpykota --balance +10.0 jerome\fR 201 .IP 202 Ceci va incr�nter le solde de jerome de 10.0 unit�(dans votre 203 propre monnaie). Vous pouvez d��nter ce solde en utilisant le signe 204 n�tif, et positionner la valeur en n'utilisant aucun signe. 205 .IP 206 \f(CW$ edpykota --delete jerome rachel\fR 207 .IP 208 Ceci va compl�ment effacer les utilisateurs jerome et rachel de la base 209 de donn�. Tous leurs quotas et leurs historiques seront aussi effac� 210 .IP 211 \f(CW$ edpykota --printer lp --charge 0.1\fR 212 .IP 213 Ceci va fixer le co�r page �.1 unit�ur l'imprimante lp. Le co�un travail ne sera pas modifi�.IP 214 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 215 .IP 216 Ceci va ajouter les imprimantes hplj1 et hplj2 dans les groupes 217 d'imprimantes Laser et HP. 218 En imprimant sur hplj1 ou hplj2, les quotas seront �lement v�fi�et comptabilis�sur les imprimantes virtuelles Laser et HP. 219 .IP 220 \f(CW$ edpykota --overcharge 2.5 pauvreetudiant\fR 221 .IP 222 Ceci va surtaxer l'utilisateur pauvreetudiant par un facteur de 2.5. 223 .IP 224 \f(CW$ edpykota --overcharge -1 jerome\fR 225 .IP 226 L'utilisateur jerome va gagner de l'argent �haque fois qu'il imprimera. 227 .IP 228 \f(CW$ edpykota --overcharge 0 patron\fR 229 .IP 230 L'utilisateur patron peut imprimer �olont�cela ne lui co� rien 231 car le co� chaque travail d'impression sera multipli�ar z� avant 232 de d�ter son compte. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 233 128 .PP 234 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/it/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/nb_NO/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/pl/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 Edytor limit�rukowania dla systemuPyKota.8 A Print Quota editor for PyKota. 9 9 .PP 10 u�ycie z linii polece�.IP 11 edpykota [opcje] u�ytkownik1 u�ytkownik2 ... u�ytkownikN 10 command line usage : 12 11 .IP 13 edpykota [opcje] grupa1 grupa2 ... grupaN 12 edpykota [options] user1 user2 ... userN 13 .IP 14 edpykota [options] group1 group2 ... groupN 14 15 .PP 15 op cje:16 options : 16 17 .TP 17 18 \fB\-v\fR | \fB\-\-version\fR 18 Wy�wietla wersj�ystemu PyKota i ko� dzia�anie.19 Prints edpykota's version number then exits. 19 20 .TP 20 21 \fB\-h\fR | \fB\-\-help\fR 21 Wy�wietla t� wiadomo�� ko� dzia�anie.22 Prints this message then exits. 22 23 .TP 23 24 \fB\-a\fR | \fB\-\-add\fR 24 Dodaje u�ytkownik�/lib drukarki je�li te nie istniej� 25 w systemie limit�a serwerze.25 Adds users or groups print quota entries if 26 they don't exist in database. 26 27 .TP 27 28 \fB\-d\fR | \fB\-\-delete\fR 28 Usuwa u�ytkownik�rupy z systemu limit�Drukarki nigdy nie s� usuwane. 29 .TP 30 \fB\-c\fR | \fB\-\-charge\fR p[,j] 31 Ustawia cen�a stron� za zadanie drukowania 32 dla wybranej drukarki. Cena zadania drukowania jest argumentem opcjonalnym. 33 Je�li obydwie warto�ci maj� by�stawione, oddziel je przecinkiem. 34 Liczby zmiennoprzecinkowe s� dozwolone. 35 .TP 36 \fB\-o\fR | \fB\-\-overcharge\fR f 37 Ustawia wsp�ynnik doliczania dla wybranego u�ytkownika 38 kt�b�ie u�yty podczas wyliczania ceny zadania drukowania. Dodatnie oraz 39 ujemne warto�ci zmiennoprzecinkowe s� dozwolone, 40 co pozwala na ustawienie na prawd�iekawych 41 efekt�ak uzupe�nianie konta za ka�dym razem kiedy uzytkownik co� 42 drukuje. Liczba stron nie jest modyfikowana 43 przez ten wsp�ynnik, tylko 44 koszt zadania drukowania dla danego u�ytkownika. 45 Tylko u�ytkownicy posiadaj� wsp�ynniki. 46 .TP 47 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 48 Do��cza u�ytkownik�o ka�dej z wymienionych grup, 49 oddzielonych przecinkami. Grupy 50 .IP 51 musz� istnie� systemie limit�.TP 52 \fB\-u\fR | \fB\-\-users\fR 53 Edytuj limity u�ytkownika, akcja domy�lna. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 54 32 .TP 55 33 \fB\-P\fR | \fB\-\-printer\fR p 56 Edytuj limity tylko dla drukarki p. Dodatkowo p akceptuje 57 wzorce dopasowania tak aby� m�wybra�ylko 58 niekt�drukarki. Domy�ln� warto�ci� jest * co oznacza 59 wszystkie drukarki. 60 Mo�esz poda�iele nazw lub wzorc�opasowania, 61 rozdziel je przecinkami. 62 .TP 63 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Dodaje drukark�rukarki do grup drukarek 64 pg1, pg2, etc... kt�musz� istnie� bazie danych. 65 Grupa drukarek to nic innego jak zwyk�a drukarka , 66 z t� r�c�, �e nie jest widoczna przez nadrz�y system drukowania. 67 Utw�grup�rukarek tak 68 jak dodajesz nowe drukarki, nast�ie dodaj inne 69 drukarki do tej grupy przy u�yciu tej opcji. 70 Rozliczanie jest przeprowadzane na drukarce oraz na 71 wszystkich grupach drukarek do kt�h nale�y dana drukarka, sprawdzanie limit�est przeprowadzane na drukarce oraz na wszystkich grupach drukarek 72 do kt�h nale�y dana drukarka. 34 Edit quotas on printer p only. Actually p can 35 use wildcards characters to select only 36 some printers. The default value is *, meaning 37 all printers. 38 You can specify several names or wildcards, 39 by separating them with commas. 73 40 .TP 74 41 \fB\-g\fR | \fB\-\-groups\fR 75 Edytuj limity grup u�ytkownik�nie u�ytkownik�.TP 76 \fB\-p\fR | \fB\-\-prototype\fR u|g U�ywa u�ytkownika u lub grupy g jako prototypu dla ustalenia 77 limit�rukowania 42 Edit groups print quota entries instead of 43 users print quota entries. 78 44 .TP 79 45 \fB\-n\fR | \fB\-\-noquota\fR 80 Ustawia obydwa limity (mi�i i twardy) na warto��one dla 81 konkretnego wpisu w systemie limit�Ta opcja NIE jest r�wa�na opcji \fB\-\-limitby\fR noquota 82 kt�swoim dzia�aniem obejmuje WSZYSTKIE wpisy limit�la 83 wybranego uzytkownika. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 84 48 .TP 85 49 \fB\-r\fR | \fB\-\-reset\fR 86 Zeruje licznik stron dla wybranego u�ytkownika lub 87 grupy na podanej drukarce.88 Licznik 'life time page counter' nie jest modyfikowany.50 Resets the actual page counter for the user 51 or group to zero on the specified printers. 52 The life time page counter is kept unchanged. 89 53 .TP 90 54 \fB\-R\fR | \fB\-\-hardreset\fR 91 Zeruje WSZYSTKIE liczniki stron (aktualny i 'life time') 92 dla u�ytkownika lub grupy na wybranej 93 drukarce/wybranych drukarkach. Jest to skr�la opcji '\-\-used 0'. 94 .TP 95 \fB\-l\fR | \fB\-\-limitby\fR l 96 Wybierz spos�graniczania drukowania 97 albo poprzez stan konta lub poprzez limit stron. 98 Domy�ln� warto�ci� jest limit stron. Dozwolone warto�ci to 99 \&'quota' 'balance' 'noquota' 'noprint' 100 i 'nochange' : 101 .IP 102 \- quota : ograniczaj wzgl�j liczby wydrukowanych stron na danej drukarce. 103 \- balance : ograniczaj wzgl�m stanu konta. 104 \- noquota : brak limitu, rozliczanie jest przeprowadzane. 105 \- nochange : brak limitu, rozliczanie nie jest przeprowadzane. 106 \- noprint : zakaz drukowania. 107 .IP 108 UWAGA : 'nochange' i 'noprint' nie maj� zastosowania w przypadku grup. 109 .TP 110 \fB\-b\fR | \fB\-\-balance\fR b 111 Ustawia stan konta na b. 112 Stan konta mo�e by�wi�zony lub zmniejszony 113 je�li b jest poprzedzone znakiem + lub \-. 114 UWAGA : je�li pomniejszasz stan konta, 115 w�as og� warto��p�at dla u�ytkownika jest tak�e pomniejszana. 116 Grupy nie maj� rzeczywistego stanu konta, jedynie 117 sum�ald u�ytkownik�worz�cych grup�.TP 118 \fB\-C\fR | \fB\-\-comment\fR txt 119 Definiuje tekst informacyjny kt�b�ie po��czony ze zmian� 120 stanu konta u�ytkownika. 121 Ma sens tylko je�li opcja \fB\-b\fR | \fB\-\-balance\fR jest okre�lona. 55 Resets the actual and life time page counters 56 for the user or group to zero on the specified 57 printers. This is a shortcut for '\-\-used 0'. 122 58 .TP 123 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 124 Ustala limit mi�i na sl stron.60 Sets the quota soft limit to sl pages. 125 61 .TP 126 62 \fB\-H\fR | \fB\-\-hardlimit\fR hl 127 Ustawia limit twardy na hl stron.63 Sets the quota hard limit to hl pages. 128 64 .TP 129 65 \fB\-I\fR | \fB\-\-increase\fR v 130 Zmie�a limity (twardy i mi�i) o warto��. 131 Warto�� mo�e by�oprzedzona znakiem + lub \-. Je�li �aden ze znak�ie jest 132 podany,w�as domy�lnym jest znak +.66 Increase existing Soft and Hard limits by the value 67 of v. You can prefix v with + or \-, if no sign is 68 used, + is assumed. 133 69 .TP 134 \fB\-U\fR | \fB\-\-used\fR ustr 135 Ustawia liczniki stron na warto��str stron; 136 u�yteczne podczas migracji u�ytkownik� innego systemu 137 gdzie liczniki mia�y warto��iezerow�. Oba liczniki : Aktualny 138 i Life Time mog� by�wi�zone lub zmniejszone 139 je�li ustr jest poprzedzone znakiem + lub \-. 140 UWAGA : OBA liczniki stron s� modyfikowane w ka�dym przypadku, 141 wi�b�d� ostro�ny. 142 UWAGA : je�li istr jest r� 0, w�as opcja ta odpowiada opcji 143 \fB\-\-hardreset\fR opisanej powy�ej. 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 76 where they have already used some pages. Actual 77 and Life Time page counters may be increased or decreased 78 if u is prefixed with + or \-. 79 WARNING : BOTH page counters are modified in all cases, 80 so be careful. 81 NB : if u equals '0', then the action taken is 82 the same as if \fB\-\-hardreset\fR was used. 144 83 .IP 145 Nazwy u�ytkownik1 do u�ytkownikN i grupa1 do grupaN ackeptuj� wzorce dopasowania 146 je�li opcja \fB\-\-add\fR nie jest obecna.84 user1 through userN and group1 through groupN can use wildcards 85 if the \fB\-\-add\fR option is not set. 147 86 .PP 148 przyk�ady:87 examples : 149 88 .IP 150 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 151 90 .IP 152 Komenda doda u�ytkownik�ohn, paul, george oraz ringo do systemu 153 limit�dodatkowo ich limity zostan� ustawione na warto��imit��ytkownika 154 jerome. U�ytkownik jerome musi istnie� systemie limit�Adres e\-mail u�ytkownika ringo zostanie dodatkowo ustawiony na 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 155 94 .IP 156 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 157 96 .IP 158 Powy�sza komenda ustali na drukarce lp limit mi�i dla u�ytkownika jerome na 50 stron, 159 za� limit twardy na 60 stron. Je�li u�ytkownik jerome lub 160 drukarka lp nie istniej� w systemie limit��as nic nie jest wykonywane. 97 This will set jerome's print quota on the lp printer to a soft limit 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 161 101 .IP 162 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR163 .IP164 Jak powy�ej z t� r�c�, �e je�li u�ytkownik jerome lub drukarka lp nie istniej�165 w systemie limit��as s� automatycznie dodawane. Dodatkowo166 u�ytkownik jerome b�ie dodany do grup "coders" i "it" kt�to167 musz� istnie� systemie limit�.IP168 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR 169 103 .IP 170 Komenda ustali limit mi�i na 500 stron i limit twardy na 550 stron 171 dla grup financial i support na wszystkich drukarkach.104 This will set print quota soft limit to 500 pages and hard limit 105 to 550 pages for groups financial and support on all printers. 172 106 .IP 173 107 \f(CW$ edpykota --reset jerome "jo*"\fR 174 108 .IP 175 Komenda wyzeruje licznik stron dla u�ytkownika jerome na wszystkich drukarkach, jak i 176 dla ka�dego innego u�ytkownika kt�o nazwa ropoczyna si�d s�owa'jo'.177 Licznik 'life time' dla tych u�ytkownik�ozostanie niezmieniony.178 Je�li chcesz wyzerowa�icznik 'life time' w�as skorzystaj z opcji 179 \fB\-\-hardreset\fR | \fB\-R\fR .109 This will reset jerome's page counter to zero on all printers, as 110 well as every user whose name begins with 'jo'. 111 Their life time page counter on each printer will be kept unchanged. 112 You can also reset the life time page counters by using the 113 \fB\-\-hardreset\fR | \fB\-R\fR command line option. 180 114 .IP 181 115 \f(CW$ edpykota --printer hpcolor --noquota jerome\fR 182 116 .IP 183 Powy�sza komenda spowoduje �e u�ytkownik jerome b�ie m�drukowa�ez ogranicze� drukarce hpcolor. Wszystkie zadania drukowania b� akceptowane przez drukark�jednak�e 184 rozliczanie stron w dalszym ci�gu b�ie prowadzone. 185 Limity drukowania na innych drukarkach dla u�ytkownika jerome pozostan� niezmienione. 117 This will tell PyKota to not limit jerome when printing on the 118 hpcolor printer. All his jobs will be allowed on this printer, but 119 accounting of the pages he prints will still be kept. 120 Print Quotas for jerome on other printers are unchanged. 186 121 .IP 187 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 188 123 .IP 189 Powy�sza komenda spowoduje, �e u�ytkownik jerome b�ie ograniczany wzgl�m 190 stanu swojego konta. 191 .IP 192 \f(CW$ edpykota --balance +10.0 jerome\fR 193 .IP 194 Powy�sza komenda spowoduje zwi�zenie stanu konta u�ytkownika jerome o 10.0 jednostek (w lokalnej 195 walucie). Mo�esz pomniejszy�tan konta je�li podasz znak \- 196 przed kwot�, mo�esz r�e� ustali�tan konta na sztywno, w�as nie podawaj znaku + ani \-. 197 .IP 198 \f(CW$ edpykota --delete jerome rachel\fR 199 .IP 200 Usuwa u�ytkownik�erome i rachel z systemu limit�Wszystkie limity oraz historia zada�ukowania skojarzona z tymi u�ytkownikami zostanie tak�e usuni�. 201 .IP 202 \f(CW$ edpykota --printer lp --charge 0.1\fR 203 .IP 204 Powy�sza komenda ustali cen�a stron�a drukarce lp na 0.1. Cena za zadanie drukowania 205 nie b�ie zmieniona. 206 .IP 207 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 208 .IP 209 Drukarki hplj1 i hplj2 zostan�mieszczone w grupach drukarek Laser i HP. 210 Podczas drukowania na hplj1 lub hplj2, limit drukowania b�ie sprawdzony i rozliczony 211 tak�e na wirtualnych drukarkach Laser i HP. 212 .IP 213 \f(CW$ edpykota --overcharge 2.5 biednystudent\fR 214 .IP 215 Od tego momentu u�ytkownik biednystudent b�ie p�aci� 2.5 raza wi�j za ka�d� wydrukowan� stron�adanie drukowania. 216 .IP 217 \f(CW$ edpykota --overcharge -1 jerome\fR 218 .IP 219 Od tego momentu u�ytkownik jerome b�ie 'zarabia�' za ka�dym razem kiedy drukuje. 220 .IP 221 \f(CW$ edpykota --overcharge 0 boss\fR 222 .IP 223 U�ytkownik boss mo�e drukowa�ez �adnych ogranicze�oniewa� 224 koszt ka�dego zadania drukowania b�ie przemno�ony przez 0. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 225 128 .PP 226 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/pt_BR/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/pt/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/sv_SE/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/th/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/tr/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify -
pykota/trunk/man/zh_TW/edpykota.1
r2667 r2713 2 2 .TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NOM 4 edpykota \- page de manuel de edpykota 1.24alpha1 0_unofficial4 edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.24alpha1 0_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com6 edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 7 7 .PP 8 8 A Print Quota editor for PyKota. … … 23 23 .TP 24 24 \fB\-a\fR | \fB\-\-add\fR 25 Adds users and/or printers if they don't26 exist on the Quota Storage Server.25 Adds users or groups print quota entries if 26 they don't exist in database. 27 27 .TP 28 28 \fB\-d\fR | \fB\-\-delete\fR 29 Deletes users/groups from the quota storage. 30 Printers are never deleted. 31 .TP 32 \fB\-c\fR | \fB\-\-charge\fR p[,j] 33 Sets the price per page and per job to charge 34 for a particular printer. Job price is optional. 35 If both are to be set, separate them with a comma. 36 Floating point values are allowed. 37 .TP 38 \fB\-o\fR | \fB\-\-overcharge\fR f 39 Sets the overcharging factor applied to the user 40 when computing the cost of a print job. Positive or 41 negative floating point values are allowed, 42 this allows you to do some really creative 43 things like giving money to an user whenever 44 he prints. The number of pages in a print job 45 is not modified by this coefficient, only the 46 cost of the job for a particular user. 47 Only users have a coefficient. 48 .TP 49 \fB\-i\fR | \fB\-\-ingroups\fR g1[,g2...] 50 Puts the users into each of the groups 51 listed, separated by commas. The groups 52 must already exist in the Quota Storage. 53 .TP 54 \fB\-u\fR | \fB\-\-users\fR 55 Edit users print quotas, this is the default. 29 Deletes users or groups print quota entries. 30 Users or groups are never deleted, you have 31 to use the pkusers command to delete them. 56 32 .TP 57 33 \fB\-P\fR | \fB\-\-printer\fR p … … 63 39 by separating them with commas. 64 40 .TP 65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups66 pg1, pg2, etc... which must already exist.67 A printer group is just like a normal printer,68 only that it is usually unknown from the printing69 system. Create printer groups exactly the same70 way that you create printers, then add other71 printers to them with this option.72 Accounting is done on a printer and on all73 the printer groups it belongs to, quota checking74 is done on a printer and on all the printer groups75 it belongs to.76 .TP77 41 \fB\-g\fR | \fB\-\-groups\fR 78 Edit users groups print quotas instead of users. 79 .TP 80 \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set 81 print quotas 42 Edit groups print quota entries instead of 43 users print quota entries. 82 44 .TP 83 45 \fB\-n\fR | \fB\-\-noquota\fR 84 Sets both soft and hard limits to None for a 85 particular print quota entry. 86 This is NOT the same as \fB\-\-limitby\fR noquota 87 which acts on ALL print quota entries for a 88 particular user. 46 Sets both soft and hard limits to None for users 47 or groups print quota entries. 89 48 .TP 90 49 \fB\-r\fR | \fB\-\-reset\fR … … 98 57 printers. This is a shortcut for '\-\-used 0'. 99 58 .TP 100 \fB\-l\fR | \fB\-\-limitby\fR l101 Choose if the user/group is limited in printing102 by its account balance or by its page quota.103 The default value is 'quota'. Allowed values104 are 'quota' 'balance' 'noquota' 'noprint'105 and 'nochange' :106 .IP107 \- quota : limit by number of pages per printer.108 \- balance : limit by number of credits in account.109 \- noquota : no limit, accounting still done.110 \- nochange : no limit, accounting not done.111 \- noprint : printing is denied.112 .IP113 NB : nochange and noprint are not supported for groups.114 .TP115 \fB\-b\fR | \fB\-\-balance\fR b116 Sets the user's account balance to b.117 Account balance may be increase or decreased118 if b is prefixed with + or \-.119 WARNING : when decreasing account balance,120 the total paid so far by the user is decreased121 too.122 Groups don't have a real balance, but the123 sum of their users' account balance.124 .TP125 \fB\-C\fR | \fB\-\-comment\fR txt126 Defines some informational text to be associated127 with a change to an user's account balance.128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used.129 .TP130 59 \fB\-S\fR | \fB\-\-softlimit\fR sl 131 60 Sets the quota soft limit to sl pages. … … 135 64 .TP 136 65 \fB\-I\fR | \fB\-\-increase\fR v 137 Increase bothSoft and Hard limits by the value66 Increase existing Soft and Hard limits by the value 138 67 of v. You can prefix v with + or \-, if no sign is 139 68 used, + is assumed. 140 69 .TP 141 \fB\-U\fR | \fB\-\-used\fR usage 142 Sets the pagecounters for the user to usage pages; 143 useful for migrating users from a different system 70 \fB\-U\fR | \fB\-\-used\fR u 71 Sets the page counters for the user u pages on 72 the selected printers. Doesn't work for groups, since 73 their page counters are the sum of all their members' 74 page counters. 75 Useful for migrating users from a different system 144 76 where they have already used some pages. Actual 145 77 and Life Time page counters may be increased or decreased 146 if u sageis prefixed with + or \-.78 if u is prefixed with + or \-. 147 79 WARNING : BOTH page counters are modified in all cases, 148 80 so be careful. 149 NB : if 'usage'equals '0', then the action taken is81 NB : if u equals '0', then the action taken is 150 82 the same as if \fB\-\-hardreset\fR was used. 151 83 .IP … … 155 87 examples : 156 88 .IP 157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR89 \f(CW$ edpykota --add john paul george ringo\fR 158 90 .IP 159 This will add users john, paul, george and ringo to the quota 160 database, and set their print quotas to the same values than user 161 jerome. User jerome must already exist. 162 User ringo's email address will also be set to 'ringo@example.com' 91 This will create print quota entries for users john, paul, george 92 and ringo on all printers. These print quota entries will have no 93 limit set. 163 94 .IP 164 95 \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 165 96 .IP 166 97 This will set jerome's print quota on the lp printer to a soft limit 167 of 50 pages, and a hard limit of 60 pages. If either user jerome or 168 printer lp doesn't exist on the Quota Storage Server then nothing is done. 169 .IP 170 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 171 .IP 172 Same as above, but if either user jerome or printer lp doesn't exist 173 on the Quota Storage Server they are automatically added. Also 174 user jerome is put into the groups "coders" and "it" which must 175 already exist in the Quota Storage. 98 of 50 pages, and a hard limit of 60 pages. Both user jerome and 99 printer lp have been previously created with the pkusers and pkprinters 100 commands, respectively. 176 101 .IP 177 102 \f(CW$ edpykota -g -S 500 -H 550 financial support\fR … … 195 120 Print Quotas for jerome on other printers are unchanged. 196 121 .IP 197 \f(CW$ edpykota -- limitby balance jerome\fR122 \f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 198 123 .IP 199 This will tell PyKota to limit jerome by his account's balance 200 when printing. 201 .IP 202 \f(CW$ edpykota --balance +10.0 jerome\fR 203 .IP 204 This will increase jerome's account balance by 10.0 (in your 205 own currency). You can decrease the account balance with a 206 dash prefix, and set it to a fixed amount with no prefix. 207 .IP 208 \f(CW$ edpykota --delete jerome rachel\fR 209 .IP 210 This will completely delete jerome and rachel from the Quota Storage 211 database. All their quotas and jobs will be deleted too. 212 .IP 213 \f(CW$ edpykota --printer lp --charge 0.1\fR 214 .IP 215 This will set the page price for printer lp to 0.1. Job price 216 will not be changed. 217 .IP 218 \f(CW$ edpykota --printer hplj1,hplj2 --pgroups Laser,HP\fR 219 .IP 220 This will put printers hplj1 and hplj2 in printers groups Laser and HP. 221 When printing either on hplj1 or hplj2, print quota will also be 222 checked and accounted for on virtual printers Laser and HP. 223 .IP 224 \f(CW$ edpykota --overcharge 2.5 poorstudent\fR 225 .IP 226 This will overcharge the poorstudent user by a factor of 2.5. 227 .IP 228 \f(CW$ edpykota --overcharge -1 jerome\fR 229 .IP 230 User jerome will actually earn money whenever he prints. 231 .IP 232 \f(CW$ edpykota --overcharge 0 boss\fR 233 .IP 234 User boss can print at will, it won't cost him anything because the 235 cost of each print job will be multiplied by zero before charging 236 his account. 124 This will delete users jerome and rachel's print quota 125 entries on all printers which name begin with 'HP' or 126 \&'XER'. The jobs printed by these users on these printers 127 will be deleted from the history. 237 128 .PP 238 129 This program is free software; you can redistribute it and/or modify