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