1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. |
---|
2 | .TH PKPRINTERS "1" "juin 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" |
---|
3 | .SH NOM |
---|
4 | pkprinters \- page de manuel de pkprinters 1.25alpha5_unofficial |
---|
5 | .SH DESCRIPTION |
---|
6 | pkprinters v1.25alpha5_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com |
---|
7 | .PP |
---|
8 | A Printers Manager for PyKota. |
---|
9 | .PP |
---|
10 | command line usage : |
---|
11 | .IP |
---|
12 | pkprinters [options] printer1 printer2 printer3 ... printerN |
---|
13 | .PP |
---|
14 | options : |
---|
15 | .TP |
---|
16 | \fB\-v\fR | \fB\-\-version\fR |
---|
17 | Prints pkprinters's version number then exits. |
---|
18 | .TP |
---|
19 | \fB\-h\fR | \fB\-\-help\fR |
---|
20 | Prints this message then exits. |
---|
21 | .TP |
---|
22 | \fB\-a\fR | \fB\-\-add\fR |
---|
23 | Adds printers if they don't exist on the Quota |
---|
24 | Storage Server. If they exist, they are modified |
---|
25 | unless \fB\-s\fR|\-\-skipexisting is also used. |
---|
26 | .TP |
---|
27 | \fB\-d\fR | \fB\-\-delete\fR |
---|
28 | Deletes printers from the quota storage. |
---|
29 | .HP |
---|
30 | \fB\-D\fR | \fB\-\-description\fR d Adds a textual description to printers. |
---|
31 | .TP |
---|
32 | \fB\-c\fR | \fB\-\-charge\fR p[,j] |
---|
33 | Sets the price per page and per job to charge. |
---|
34 | Job price is optional. |
---|
35 | If both are to be set, separate them with a comma. |
---|
36 | Floating point and negative values are allowed. |
---|
37 | .TP |
---|
38 | \fB\-g\fR | \fB\-\-groups\fR pg1[,pg2...] Adds or Remove the printer(s) to the printer |
---|
39 | groups pg1, pg2, etc... which must already exist. |
---|
40 | A printer group is just like a normal printer, |
---|
41 | only that it is usually unknown from the printing |
---|
42 | system. Create printer groups exactly the same |
---|
43 | way that you create printers, then add other |
---|
44 | printers to them with this option. |
---|
45 | Accounting is done on a printer and on all |
---|
46 | the printer groups it belongs to, quota checking |
---|
47 | is done on a printer and on all the printer groups |
---|
48 | it belongs to. |
---|
49 | If the \fB\-\-remove\fR option below is not used, the |
---|
50 | default action is to add printers to the specified |
---|
51 | printer groups. |
---|
52 | .TP |
---|
53 | \fB\-l\fR | \fB\-\-list\fR |
---|
54 | List informations about the printer(s) and the |
---|
55 | printers groups it is a member of. |
---|
56 | .TP |
---|
57 | \fB\-r\fR | \fB\-\-remove\fR |
---|
58 | In combination with the \fB\-\-groups\fR option above, |
---|
59 | remove printers from the specified printers groups. |
---|
60 | .TP |
---|
61 | \fB\-s\fR | \fB\-\-skipexisting\fR |
---|
62 | In combination with the \fB\-\-add\fR option above, tells |
---|
63 | pkprinters to not modify existing printers. |
---|
64 | .TP |
---|
65 | \fB\-m\fR | \fB\-\-maxjobsize\fR s |
---|
66 | Sets the maximum job size allowed on the printer |
---|
67 | to s pages. |
---|
68 | .TP |
---|
69 | \fB\-p\fR | \fB\-\-passthrough\fR |
---|
70 | Activate passthrough mode for the printer. In this |
---|
71 | mode, users are allowed to print without any impact |
---|
72 | on their quota or account balance. |
---|
73 | .TP |
---|
74 | \fB\-n\fR | \fB\-\-nopassthrough\fR Deactivate passthrough mode for the printer. |
---|
75 | Without \fB\-p\fR or \fB\-n\fR, printers are created in |
---|
76 | normal mode, i.e. no passthrough. |
---|
77 | .IP |
---|
78 | printer1 through printerN can contain wildcards if the \fB\-\-add\fR option |
---|
79 | is not set. |
---|
80 | .PP |
---|
81 | examples : |
---|
82 | .IP |
---|
83 | \f(CW$ pkprinters --add -D "HP Printer" --charge 0.05,0.1 hp2100 hp2200 hp8000\fR |
---|
84 | .IP |
---|
85 | Will create three printers named hp2100, hp2200 and hp8000. |
---|
86 | Their price per page will be set at 0.05 unit, and their price |
---|
87 | per job will be set at 0.1 unit. Units are in your own currency, |
---|
88 | or whatever you want them to mean. |
---|
89 | All of their descriptions will be set to the string "HP Printer". |
---|
90 | If any of these printers already exists, it will also be modified |
---|
91 | unless the \fB\-s\fR|\-\-skipexisting command line option is also used. |
---|
92 | .IP |
---|
93 | \f(CW$ pkprinters --delete "*"\fR |
---|
94 | .IP |
---|
95 | This will completely delete all printers and associated quota information, |
---|
96 | as well as their job history. USE WITH CARE ! |
---|
97 | .IP |
---|
98 | \f(CW$ pkprinters --groups Laser,HP "hp*"\fR |
---|
99 | .IP |
---|
100 | This will put all printers which name matches "hp*" into printers groups |
---|
101 | Laser and HP, which MUST already exist. |
---|
102 | .IP |
---|
103 | \f(CW$ pkprinters --groups LexMark --remove hp2200\fR |
---|
104 | .IP |
---|
105 | This will remove the hp2200 printer from the LexMark printer group. |
---|
106 | .PP |
---|
107 | This program is free software; you can redistribute it and/or modify |
---|
108 | it under the terms of the GNU General Public License as published by |
---|
109 | the Free Software Foundation; either version 2 of the License, or |
---|
110 | (at your option) any later version. |
---|
111 | .PP |
---|
112 | This program is distributed in the hope that it will be useful, |
---|
113 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
114 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
115 | GNU General Public License for more details. |
---|
116 | .PP |
---|
117 | You should have received a copy of the GNU General Public License |
---|
118 | along with this program; if not, write to the Free Software |
---|
119 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA. |
---|
120 | .PP |
---|
121 | V�igen rapportera buggar till : Jerome Alet \- alet@librelogiciel.com |
---|