.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. .TH PKPRINTERS "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" .SH NAME pkprinters \- manual page for pkprinters 1.18alpha2_unofficial .SH DESCRIPTION pkprinters v1.18alpha2_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres A Printers Manager for PyKota. .PP command line usage : .IP pkprinters [options] printer1 printer2 printer3 ... printerN .PP options : .TP \fB\-v\fR | \fB\-\-version\fR Prints pkprinters's version number then exits. .TP \fB\-h\fR | \fB\-\-help\fR Prints this message then exits. .TP \fB\-a\fR | \fB\-\-add\fR Adds users and/or printers if they don't exist on the Quota Storage Server. .TP \fB\-d\fR | \fB\-\-delete\fR Deletes users/groups from the quota storage. Printers are never deleted. .TP \fB\-c\fR | \fB\-\-charge\fR p[,j] Sets the price per page and per job to charge. Job price is optional. If both are to be set, separate them with a comma. Floating point and negative values are allowed. .TP \fB\-g\fR | \fB\-\-groups\fR pg1[,pg2...] Adds the printer(s) to the printer groups pg1, pg2, etc... which must already exist. A printer group is just like a normal printer, only that it is usually unknown from the printing system. Create printer groups exactly the same way that you create printers, then add other printers to them with this option. Accounting is done on a printer and on all the printer groups it belongs to, quota checking is done on a printer and on all the printer groups it belongs to. .IP printer1 through printerN can contain wildcards if the \fB\-\-add\fR option is not set. .PP examples : .IP \f(CW$ pkprinters --add --charge 0.05,0.1 hp2100 hp2200 hp8000\fR .IP Will create three printers named hp2100, hp2200 and hp8000 or modify them if they already exist. Their price per page will be set at 0.05 unit, and their price per job will be set at 0.1 unit. Units are in your own currency, or whatever you want them to mean. .IP \f(CW$ pkprinters --delete "*"\fR .IP This will completely delete all printers and associated quota information, as well as their job history. USE WITH CARE ! .IP \f(CW$ pkprinters --groups Laser,HP "hp*"\fR .IP This will put all printers which name matches "hp*" into printers groups Laser and HP, which MUST already exist. .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. .PP Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com