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