root / pykota / trunk / man / pkprinters.1 @ 1470

Revision 1453, 3.7 kB (checked in by jalet, 21 years ago)

Added --skipexisting command line option to pkprinters

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