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

Revision 1331, 3.0 kB (checked in by jalet, 20 years ago)

pkprinters' 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.33.
2.TH PKPRINTERS "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"
3.SH NAME
4pkprinters \- manual page for pkprinters 1.18alpha2_unofficial
5.SH DESCRIPTION
6pkprinters v1.18alpha2_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.
24.TP
25\fB\-d\fR | \fB\-\-delete\fR
26Deletes printers from the quota storage.
27.TP
28\fB\-c\fR | \fB\-\-charge\fR p[,j]
29Sets the price per page and per job to charge.
30Job price is optional.
31If both are to be set, separate them with a comma.
32Floating point and negative values are allowed.
33.TP
34\fB\-g\fR | \fB\-\-groups\fR pg1[,pg2...] Adds the printer(s) to the printer groups
35pg1, pg2, etc... which must already exist.
36A printer group is just like a normal printer,
37only that it is usually unknown from the printing
38system. Create printer groups exactly the same
39way that you create printers, then add other
40printers to them with this option.
41Accounting is done on a printer and on all
42the printer groups it belongs to, quota checking
43is done on a printer and on all the printer groups
44it belongs to.
45.IP
46printer1 through printerN can contain wildcards if the \fB\-\-add\fR option
47is not set.
48.PP
49examples :
50.IP
51\f(CW$ pkprinters --add --charge 0.05,0.1 hp2100 hp2200 hp8000\fR
52.IP
53Will create three printers named hp2100, hp2200 and hp8000
54or modify them if they already exist.
55Their price per page will be set at 0.05 unit, and their price
56per job will be set at 0.1 unit. Units are in your own currency,
57or whatever you want them to mean.
58.IP
59\f(CW$ pkprinters --delete "*"\fR
60.IP
61This will completely delete all printers and associated quota information,
62as well as their job history. USE WITH CARE !
63.IP
64\f(CW$ pkprinters --groups Laser,HP "hp*"\fR
65.IP
66This will put all printers which name matches "hp*" into printers groups
67Laser and HP, which MUST already exist.
68.PP
69This program is free software; you can redistribute it and/or modify
70it under the terms of the GNU General Public License as published by
71the Free Software Foundation; either version 2 of the License, or
72(at your option) any later version.
73.PP
74This program is distributed in the hope that it will be useful,
75but WITHOUT ANY WARRANTY; without even the implied warranty of
76MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
77GNU General Public License for more details.
78.PP
79You should have received a copy of the GNU General Public License
80along with this program; if not, write to the Free Software
81Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
82.PP
83Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.