6 | | pkprinters v1.27alpha3_BROKEN_unofficial (c) 2003, 2004, 2005, 2006, 2007, 2008 Jerome Alet \- alet@librelogiciel.com |
7 | | .PP |
8 | | Un gestionnaire d'imprimantes pour PyKota. |
9 | | .PP |
10 | | ligne de commande : |
| 9 | Manages PyKota printers. |
| 10 | .SH OPTIONS |
| 11 | .TP |
| 12 | \fB\-h\fR, \fB\-\-help\fR |
| 13 | show this help message and exit. |
| 14 | .TP |
| 15 | \fB\-v\fR, \fB\-\-version\fR |
| 16 | show the version number and exit. |
| 17 | .TP |
| 18 | \fB\-A\fR ARGUMENTSFILE, \fB\-\-arguments\fR=\fIARGUMENTSFILE\fR |
| 19 | loads additional options and arguments from a file, |
| 20 | one per line. |
| 21 | .TP |
| 22 | \fB\-a\fR, \fB\-\-add\fR |
| 23 | Add new, or modify existing, printers. |
| 24 | .TP |
| 25 | \fB\-c\fR CHARGE, \fB\-\-charge\fR=\fICHARGE\fR |
| 26 | Set the cost per page, and optionally per job, for |
| 27 | printing to the specified printers. If both are to be |
| 28 | set, separate them with a comma. Floating point and |
| 29 | negative values are allowed. |
| 30 | .TP |
| 31 | \fB\-C\fR, \fB\-\-cups\fR |
| 32 | Tell CUPS to either start or stop managing the |
| 33 | specified printers with PyKota. |
| 34 | .TP |
| 35 | \fB\-d\fR, \fB\-\-delete\fR |
| 36 | Delete the specified printers. Also purge the print |
| 37 | quota entries and printing history matching the |
| 38 | specified printers. |
| 39 | .TP |
| 40 | \fB\-D\fR DESCRIPTION, \fB\-\-description\fR=\fIDESCRIPTION\fR |
| 41 | Set a textual description for the specified printers. |
| 42 | .TP |
| 43 | \fB\-g\fR GROUPS, \fB\-\-groups\fR=\fIGROUPS\fR |
| 44 | If the \fB\-\-remove\fR option is not used, the default action |
| 45 | is to add the specified printers to the specified |
| 46 | printers groups. Otherwise they are removed from these |
| 47 | groups. The specified printers groups must already |
| 48 | exist, and should be created beforehand just like |
| 49 | normal printers with this very command. |
| 50 | .TP |
| 51 | \fB\-l\fR, \fB\-\-list\fR |
| 52 | Display detailed informations about the specified |
| 53 | printers. |
| 54 | .TP |
| 55 | \fB\-m\fR MAXJOBSIZE, \fB\-\-maxjobsize\fR=\fIMAXJOBSIZE\fR |
| 56 | Set the maximum job size in pages allowed on the |
| 57 | specified printers. |
| 58 | .TP |
| 59 | \fB\-n\fR, \fB\-\-nopassthrough\fR |
| 60 | Deactivate passthrough mode for the specified |
| 61 | printers. This is the normal mode of operations, in |
| 62 | which print jobs are accounted for, and are checked |
| 63 | against printing quotas and available credits. |
| 64 | .TP |
| 65 | \fB\-p\fR, \fB\-\-passthrough\fR |
| 66 | Activate passthrough mode for the specified printers. |
| 67 | In this mode, jobs sent to these printers are not |
| 68 | accounted for. This can be useful for exams during |
| 69 | which no user should be charged for his printouts. |
| 70 | .TP |
| 71 | \fB\-r\fR, \fB\-\-remove\fR |
| 72 | When combined with the \fB\-\-groups\fR option, remove |
| 73 | printers from the specified printers groups. |
| 74 | .TP |
| 75 | \fB\-s\fR, \fB\-\-skipexisting\fR |
| 76 | If \fB\-\-add\fR is used, ensure that existing printers won't |
| 77 | be modified. |
| 78 | .SS "examples:" |
12 | | pkprinters [options] impr1 impr2 impr3 ... imprN |
13 | | .PP |
14 | | options : |
15 | | .TP |
16 | | \fB\-v\fR | \fB\-\-version\fR |
17 | | Affiche la version de pkprinters et quitte. |
18 | | .TP |
19 | | \fB\-h\fR | \fB\-\-help\fR |
20 | | Affiche ce message et quitte. |
21 | | .TP |
22 | | \fB\-a\fR | \fB\-\-add\fR |
23 | | Ajoute les imprimantes si elles n'existent pas d� |
24 | | dans la base de donn�. Si elles existent, alors |
25 | | elles sont modifi� sauf si l'option de ligne de |
26 | | commande \fB\-s\fR|\-\-skipexisting est aussi utilis� |
27 | | .TP |
28 | | \fB\-d\fR | \fB\-\-delete\fR |
29 | | Supprime les imprimantes de la base de donn�. |
30 | | .HP |
31 | | \fB\-D\fR | \fB\-\-description\fR d Ajoute une description textuelle aux imprimantes. |
32 | | .TP |
33 | | \fB\-C\fR | \fB\-\-cups\fR |
34 | | Modifie �lement la DeviceURI dans le fichier |
35 | | printers.conf de CUPS. |
36 | | .TP |
37 | | \fB\-c\fR | \fB\-\-charge\fR p[,j] |
38 | | Fixes les co�ar page et par travail. |
39 | | Le co�r travail d'impression est optionnel. |
40 | | Si les deux sont utilis� s�rez les nombres par |
41 | | une virgule. |
42 | | Les nombres n�tifs ou avec d�males sont autoris� |
43 | | .TP |
44 | | \fB\-g\fR | \fB\-\-groups\fR pg1[,pg2...] Ajoute ou supprime les imprimantes des groupes |
45 | | pg1, pg2, etc... qui doivent d� exister. |
46 | | Un groupe d'imprimantes est comme une imprimante |
47 | | normale mais est inconnu du syst� d'impression. |
48 | | On cr�les groupes d'imprimantes de la m� mani� |
49 | | que l'on cr�des imprimantes, et ensuite on leur |
50 | | ajoute des imprimantes avec cette option. |
51 | | Le d�mpte et la v�fication sont effectu�sur |
52 | | une imprimante et sur tous les groupes auxquels elle |
53 | | appartient. |
54 | | Si l'option \fB\-\-remove\fR ci\-dessous n'est pas utilis� |
55 | | l'action par d�ut est d'ajouter les imprimantes aux |
56 | | groupes d'imprimantes sp�fi� |
57 | | .TP |
58 | | \fB\-l\fR | \fB\-\-list\fR |
59 | | Liste les informations sur les imprimantes et les |
60 | | groupes dont elles sont membres. |
61 | | .TP |
62 | | \fB\-r\fR | \fB\-\-remove\fR |
63 | | Combin�avec l'option \fB\-\-groups\fR ci\-dessus, supprime |
64 | | les imprimantes des groupes sp�fi� |
65 | | .TP |
66 | | \fB\-s\fR | \fB\-\-skipexisting\fR |
67 | | Combin�avec l'option \fB\-\-add\fR ci\-dessus, indique |
68 | | �kprinters de ne pas modifier les imprimantes |
69 | | existantes. |
70 | | .TP |
71 | | \fB\-m\fR | \fB\-\-maxjobsize\fR s |
72 | | Positionne la taille maximale autoris�d'un travail |
73 | | d'impression sur l'imprimante � pages. |
74 | | .TP |
75 | | \fB\-p\fR | \fB\-\-passthrough\fR |
76 | | Active le mode 'passthrough' pour l'imprimante. Dans |
77 | | ce mode, les utilisateurs peuvent imprimer sans impact |
78 | | sur leur quota ou sur le solde de leur compte. |
79 | | .TP |
80 | | \fB\-n\fR | \fB\-\-nopassthrough\fR D�ctive le mode 'passthrough' pour l'imprimante. |
81 | | Sans \fB\-p\fR ou \fB\-n\fR, les imprimantes sont cr�s en mode |
82 | | normal, c'est �ire non 'passthrough'. |
| 80 | pkprinters \fB\-\-add\fR \fB\-\-cups\fR \fB\-D\fR "HP Printer" \fB\-\-charge\fR 0.05,0.1 hp2100 hp2200 |
| 81 | Would create three printers named 'hp2100', and 'hp2200' in PyKota's |
| 82 | database, while telling CUPS to route all print jobs through PyKota for |
| 83 | these printers. Each of them would have 'HP Printer' as its description. |
| 84 | Printing to any of them would cost 0.05 credit per page, plus 0.1 credit |
| 85 | for each job. |
104 | | \f(CW$ pkprinters \-\-groups Laser,HP "hp*"\fR |
105 | | .IP |
106 | | Ceci ba mettre toutes les imprimantes dont le nom correspond �hp*" |
107 | | dans les groupes Laser et HP, qui DOIVENT d� exister. |
108 | | .IP |
109 | | \f(CW$ pkprinters \-\-groups LexMark \-\-remove hp2200\fR |
110 | | .IP |
111 | | Ceci va enlever l'imprimante hp2200 du groupe LexMark. |
112 | | .PP |
113 | | (c) 2003, 2004, 2005, 2006, 2007, 2008 Jerome Alet <alet@librelogiciel.com> |
114 | | This program is free software: you can redistribute it and/or modify |
115 | | it under the terms of the GNU General Public License as published by |
116 | | the Free Software Foundation, either version 3 of the License, or |
117 | | (at your option) any later version. |
118 | | .PP |
119 | | This program is distributed in the hope that it will be useful, |
120 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
121 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
122 | | GNU General Public License for more details. |
123 | | .PP |
124 | | You should have received a copy of the GNU General Public License |
125 | | along with this program. If not, see <http://www.gnu.org/licenses/>. |
126 | | .PP |
127 | | Merci d'envoyer les rapports de bugs � Jerome Alet \- alet@librelogiciel.com |
| 110 | You should have received a copy of the GNU General Public License along |
| 111 | with this program. If not, see <http://www.gnu.org/licenses/>. |