root / pykota / trunk / man / pt / pkprinters.1 @ 2413

Revision 2344, 3.9 kB (checked in by jerome, 19 years ago)

Moved the GPL blurb into a single location.
Now uses named parameters in commands' help.

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