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