Changeset 2713 for pykota/trunk/man

Show
Ignore:
Timestamp:
02/20/06 21:20:01 (18 years ago)
Author:
jerome
Message:

Updated edpykota's manual page.

Location:
pykota/trunk/man
Files:
14 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/man/de/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "February 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NAME 
    4 edpykota \- manual page for edpykota 1.24alpha10_unofficial 
     4edpykota \- manual page for edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/el_GR/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/es/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/fr/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    8 Un �teur de quotas pour PyKota. 
     8A Print Quota editor for PyKota. 
    99.PP 
    10 ligne de commande : 
     10command line usage : 
    1111.IP 
    12 edpykota [options] utilisateur1 utilisateur2 ... utilisateurN 
     12edpykota [options] user1 user2 ... userN 
    1313.IP 
    14 edpykota [options] groupe1 groupe2 ... groupeN 
     14edpykota [options] group1 group2 ... groupN 
    1515.PP 
    1616options : 
    1717.TP 
    1818\fB\-v\fR | \fB\-\-version\fR 
    19 Affiche la version d'edpykota et quitte. 
     19Prints edpykota's version number then exits. 
    2020.TP 
    2121\fB\-h\fR | \fB\-\-help\fR 
    22 Affiche ce message et quitte. 
     22Prints this message then exits. 
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Ajoute des utilisateurs et/ou des imprimantes 
    26 s'ils n'existent pas d� dans la base de donn�. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5732.TP 
    5833\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. 
     34Edit quotas on printer p only. Actually p can 
     35use wildcards characters to select only 
     36some printers. The default value is *, meaning 
     37all printers. 
     38You can specify several names or wildcards, 
     39by separating them with commas. 
    7940.TP 
    8041\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. 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8644.TP 
    8745\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 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
     48.TP 
    9349\fB\-r\fR | \fB\-\-reset\fR 
    94 Remet �� le compteur de pages courant pour 
    95 l'utilisateur ou le groupe sur les imprimantes 
    96 sp�fi�. 
    97 Le compteur de pages '�rnel' est inchang�.TP 
     50Resets the actual page counter for the user 
     51or group to zero on the specified printers. 
     52The life time page counter is kept unchanged. 
     53.TP 
    9854\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. 
     55Resets the actual and life time page counters 
     56for the user or group to zero on the specified 
     57printers. This is a shortcut for '\-\-used 0'. 
    13058.TP 
    13159\fB\-S\fR | \fB\-\-softlimit\fR sl 
    132 Fixe la limite souple �l pages. 
     60Sets the quota soft limit to sl pages. 
    13361.TP 
    13462\fB\-H\fR | \fB\-\-hardlimit\fR hl 
    135 Fixe la limite dure �l pages. 
     63Sets the quota hard limit to hl pages. 
    13664.TP 
    13765\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. 
     66Increase existing Soft and Hard limits by the value 
     67of v. You can prefix v with + or \-, if no sign is 
     68used, + is assumed. 
     69.TP 
     70\fB\-U\fR | \fB\-\-used\fR u 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
     76where they have already used some pages. Actual 
     77and Life Time page counters may be increased or decreased 
     78if u is prefixed with + or \-. 
     79WARNING : BOTH page counters are modified in all cases, 
     80so be careful. 
     81NB : if u equals '0', then the action taken is 
     82the same as if \fB\-\-hardreset\fR was used. 
    14983.IP 
    150 les noms d'utilisateurs ou de groupes peuvent contenir des caract�s 
    151 joker si l'option \fB\-\-add\fR n'est pas utilis� 
     84user1 through userN and group1 through groupN can use wildcards 
     85if the \fB\-\-add\fR option is not set. 
    15286.PP 
    153 exemples : 
     87examples : 
    15488.IP 
    155 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15690.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16194.IP 
    16295\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16396.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�. 
     97This will set jerome's print quota on the lp printer to a soft limit 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    174101.IP 
    175102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
    176103.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. 
     104This will set print quota soft limit to 500 pages and hard limit 
     105to 550 pages for groups financial and support on all printers. 
    179106.IP 
    180107\f(CW$ edpykota --reset jerome "jo*"\fR 
    181108.IP 
    182 Ceci va remettre �� le compteur de pages courant de jerome sur toutes 
    183 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. 
     109This will reset jerome's page counter to zero on all printers, as 
     110well as every user whose name begins with 'jo'. 
     111Their life time page counter on each printer will be kept unchanged. 
     112You can also reset the life time page counters by using the 
     113\fB\-\-hardreset\fR | \fB\-R\fR command line option. 
    187114.IP 
    188115\f(CW$ edpykota --printer hpcolor --noquota jerome\fR 
    189116.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� 
     117This will tell PyKota to not limit jerome when printing on the 
     118hpcolor printer. All his jobs will be allowed on this printer, but 
     119accounting of the pages he prints will still be kept. 
     120Print Quotas for jerome on other printers are unchanged. 
    194121.IP 
    195 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    196123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    233128.PP 
    234129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/it/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/nb_NO/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/pl/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    8 Edytor limit�rukowania dla systemu PyKota. 
     8A Print Quota editor for PyKota. 
    99.PP 
    10 u�ycie z linii polece�.IP 
    11 edpykota [opcje] u�ytkownik1 u�ytkownik2 ... u�ytkownikN 
     10command line usage : 
    1211.IP 
    13 edpykota [opcje] grupa1 grupa2 ... grupaN 
     12edpykota [options] user1 user2 ... userN 
     13.IP 
     14edpykota [options] group1 group2 ... groupN 
    1415.PP 
    15 opcje : 
     16options : 
    1617.TP 
    1718\fB\-v\fR | \fB\-\-version\fR 
    18 Wy�wietla wersj�ystemu PyKota i ko� dzia�anie. 
     19Prints edpykota's version number then exits. 
    1920.TP 
    2021\fB\-h\fR | \fB\-\-help\fR 
    21 Wy�wietla t� wiadomo�� ko� dzia�anie. 
     22Prints this message then exits. 
    2223.TP 
    2324\fB\-a\fR | \fB\-\-add\fR 
    24 Dodaje u�ytkownik�/lib drukarki je�li te nie istniej� 
    25 w systemie limit�a serwerze. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2627.TP 
    2728\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5432.TP 
    5533\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. 
     34Edit quotas on printer p only. Actually p can 
     35use wildcards characters to select only 
     36some printers. The default value is *, meaning 
     37all printers. 
     38You can specify several names or wildcards, 
     39by separating them with commas. 
    7340.TP 
    7441\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    7844.TP 
    7945\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8448.TP 
    8549\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. 
     50Resets the actual page counter for the user 
     51or group to zero on the specified printers. 
     52The life time page counter is kept unchanged. 
    8953.TP 
    9054\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. 
     55Resets the actual and life time page counters 
     56for the user or group to zero on the specified 
     57printers. This is a shortcut for '\-\-used 0'. 
    12258.TP 
    12359\fB\-S\fR | \fB\-\-softlimit\fR sl 
    124 Ustala limit mi�i na sl stron. 
     60Sets the quota soft limit to sl pages. 
    12561.TP 
    12662\fB\-H\fR | \fB\-\-hardlimit\fR hl 
    127 Ustawia limit twardy na hl stron. 
     63Sets the quota hard limit to hl pages. 
    12864.TP 
    12965\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 +. 
     66Increase existing Soft and Hard limits by the value 
     67of v. You can prefix v with + or \-, if no sign is 
     68used, + is assumed. 
    13369.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
     76where they have already used some pages. Actual 
     77and Life Time page counters may be increased or decreased 
     78if u is prefixed with + or \-. 
     79WARNING : BOTH page counters are modified in all cases, 
     80so be careful. 
     81NB : if u equals '0', then the action taken is 
     82the same as if \fB\-\-hardreset\fR was used. 
    14483.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. 
     84user1 through userN and group1 through groupN can use wildcards 
     85if the \fB\-\-add\fR option is not set. 
    14786.PP 
    148 przyk�ady : 
     87examples : 
    14988.IP 
    150 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15190.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    15594.IP 
    15695\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    15796.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. 
     97This will set jerome's print quota on the lp printer to a soft limit 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    161101.IP 
    162 \f(CW$ edpykota --add --printer lp --ingroups coders,it -S 50 -H 60 jerome\fR 
    163 .IP 
    164 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. Dodatkowo 
    166 u�ytkownik jerome b�ie dodany do grup "coders" i "it" kt�to 
    167 musz� istnie� systemie limit�.IP 
    168102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
    169103.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. 
     104This will set print quota soft limit to 500 pages and hard limit 
     105to 550 pages for groups financial and support on all printers. 
    172106.IP 
    173107\f(CW$ edpykota --reset jerome "jo*"\fR 
    174108.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. 
     109This will reset jerome's page counter to zero on all printers, as 
     110well as every user whose name begins with 'jo'. 
     111Their life time page counter on each printer will be kept unchanged. 
     112You can also reset the life time page counters by using the 
     113\fB\-\-hardreset\fR | \fB\-R\fR command line option. 
    180114.IP 
    181115\f(CW$ edpykota --printer hpcolor --noquota jerome\fR 
    182116.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. 
     117This will tell PyKota to not limit jerome when printing on the 
     118hpcolor printer. All his jobs will be allowed on this printer, but 
     119accounting of the pages he prints will still be kept. 
     120Print Quotas for jerome on other printers are unchanged. 
    186121.IP 
    187 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    188123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    225128.PP 
    226129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/pt_BR/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/pt/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/sv_SE/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/th/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/tr/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify 
  • pykota/trunk/man/zh_TW/edpykota.1

    r2667 r2713  
    22.TH EDPYKOTA "1" "f�ier 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 edpykota \- page de manuel de edpykota 1.24alpha10_unofficial 
     4edpykota \- page de manuel de edpykota 1.24alpha12_unofficial 
    55.SH DESCRIPTION 
    6 edpykota v1.24alpha10_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6edpykota v1.24alpha12_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88A Print Quota editor for PyKota. 
     
    2323.TP 
    2424\fB\-a\fR | \fB\-\-add\fR 
    25 Adds users and/or printers if they don't 
    26 exist on the Quota Storage Server. 
     25Adds users or groups print quota entries if 
     26they don't exist in database. 
    2727.TP 
    2828\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. 
     29Deletes users or groups print quota entries. 
     30Users or groups are never deleted, you have 
     31to use the pkusers command to delete them. 
    5632.TP 
    5733\fB\-P\fR | \fB\-\-printer\fR p 
     
    6339by separating them with commas. 
    6440.TP 
    65 \fB\-G\fR | \fB\-\-pgroups\fR pg1[,pg2...] Adds the printer(s) to the printer groups 
    66 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 printing 
    69 system. Create printer groups exactly the same 
    70 way that you create printers, then add other 
    71 printers to them with this option. 
    72 Accounting is done on a printer and on all 
    73 the printer groups it belongs to, quota checking 
    74 is done on a printer and on all the printer groups 
    75 it belongs to. 
    76 .TP 
    7741\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 
     42Edit groups print quota entries instead of 
     43users print quota entries. 
    8244.TP 
    8345\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. 
     46Sets both soft and hard limits to None for users 
     47or groups print quota entries. 
    8948.TP 
    9049\fB\-r\fR | \fB\-\-reset\fR 
     
    9857printers. This is a shortcut for '\-\-used 0'. 
    9958.TP 
    100 \fB\-l\fR | \fB\-\-limitby\fR l 
    101 Choose if the user/group is limited in printing 
    102 by its account balance or by its page quota. 
    103 The default value is 'quota'. Allowed values 
    104 are 'quota' 'balance' 'noquota' 'noprint' 
    105 and 'nochange' : 
    106 .IP 
    107 \- 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 .IP 
    113 NB : nochange and noprint are not supported for groups. 
    114 .TP 
    115 \fB\-b\fR | \fB\-\-balance\fR b 
    116 Sets the user's account balance to b. 
    117 Account balance may be increase or decreased 
    118 if b is prefixed with + or \-. 
    119 WARNING : when decreasing account balance, 
    120 the total paid so far by the user is decreased 
    121 too. 
    122 Groups don't have a real balance, but the 
    123 sum of their users' account balance. 
    124 .TP 
    125 \fB\-C\fR | \fB\-\-comment\fR txt 
    126 Defines some informational text to be associated 
    127 with a change to an user's account balance. 
    128 Only meaningful if \fB\-b\fR | \fB\-\-balance\fR is also used. 
    129 .TP 
    13059\fB\-S\fR | \fB\-\-softlimit\fR sl 
    13160Sets the quota soft limit to sl pages. 
     
    13564.TP 
    13665\fB\-I\fR | \fB\-\-increase\fR v 
    137 Increase both Soft and Hard limits by the value 
     66Increase existing Soft and Hard limits by the value 
    13867of v. You can prefix v with + or \-, if no sign is 
    13968used, + is assumed. 
    14069.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 
     71Sets the page counters for the user u pages on 
     72the selected printers. Doesn't work for groups, since 
     73their page counters are the sum of all their members' 
     74page counters. 
     75Useful for migrating users from a different system 
    14476where they have already used some pages. Actual 
    14577and Life Time page counters may be increased or decreased 
    146 if usage is prefixed with + or \-. 
     78if u is prefixed with + or \-. 
    14779WARNING : BOTH page counters are modified in all cases, 
    14880so be careful. 
    149 NB : if 'usage' equals '0', then the action taken is 
     81NB : if u equals '0', then the action taken is 
    15082the same as if \fB\-\-hardreset\fR was used. 
    15183.IP 
     
    15587examples : 
    15688.IP 
    157 \f(CW$ edpykota --add -p jerome john paul george ringo/ringo@example.com\fR 
     89\f(CW$ edpykota --add john paul george ringo\fR 
    15890.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' 
     91This will create print quota entries for users john, paul, george 
     92and ringo on all printers. These print quota entries will have no 
     93limit set. 
    16394.IP 
    16495\f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR 
    16596.IP 
    16697This 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. 
     98of 50 pages, and a hard limit of 60 pages. Both user jerome and 
     99printer lp have been previously created with the pkusers and pkprinters 
     100commands, respectively. 
    176101.IP 
    177102\f(CW$ edpykota -g -S 500 -H 550 financial support\fR 
     
    195120Print Quotas for jerome on other printers are unchanged. 
    196121.IP 
    197 \f(CW$ edpykota --limitby balance jerome\fR 
     122\f(CW$ edpykota --delete --printer "HP*,XER*" jerome rachel\fR 
    198123.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. 
     124This will delete users jerome and rachel's print quota 
     125entries on all printers which name begin with 'HP' or 
     126\&'XER'. The jobs printed by these users on these printers 
     127will be deleted from the history. 
    237128.PP 
    238129This program is free software; you can redistribute it and/or modify