PKPRINTERS(1)

NAME
pkprinters - manual page for pkprinters 1.26_unofficial

DESCRIPTION
pkprinters v1.26_unofficial (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet - alet@librelogiciel.com

A Printers Manager for PyKota.

command line usage :

    pkprinters [options] printer1 printer2 printer3 ... printerN

options :

-v | --version
    Prints pkprinters's version number then exits.

-h | --help
    Prints this message then exits.

-a | --add
    Adds printers if they don't exist on the Quota Storage Server. If they exist, they are modified unless -s|--skipexisting is also used.

-d | --delete
    Deletes printers from the quota storage.

-D | --description d Adds a textual description to printers.

-C | --cups
    Also modifies the DeviceURI in CUPS' printers.conf

-c | --charge 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.

-g | --groups pg1[,pg2...] Adds or Remove 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. If the --remove option below is not used, the default action is to add printers to the specified printer groups.

-l | --list
    List informations about the printer(s) and the printers groups it is a member of.

-r | --remove
    In combination with the --groups option above, remove printers from the specified printers groups.

-s | --skipexisting
    In combination with the --add option above, tells pkprinters to not modify existing printers.

-m | --maxjobsize s
    Sets the maximum job size allowed on the printer to s pages.

-p | --passthrough
    Activate passthrough mode for the printer. In this mode, users are allowed to print without any impact on their quota or account balance.

-n | --nopassthrough Deactivate passthrough mode for the printer.
    Without -p or -n, printers are created in normal mode, i.e. no passthrough.

    printer1 through printerN can contain wildcards if the --add option is not set.

examples :

    $ pkprinters --add -D "HP Printer" --charge 0.05,0.1 hp2100 hp2200 hp8000

    Will create three printers named hp2100, hp2200 and hp8000. 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. All of their descriptions will be set to the string "HP Printer". If any of these printers already exists, it will also be modified unless the -s|--skipexisting command line option is also used.

    $ pkprinters --delete "*"

    This will completely delete all printers and associated quota information, as well as their job history. USE WITH CARE !

    $ pkprinters --groups Laser,HP "hp*"

    This will put all printers which name matches "hp*" into printers groups Laser and HP, which MUST already exist.

    $ pkprinters --groups LexMark --remove hp2200

    This will remove the hp2200 printer from the LexMark printer group.

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.

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.

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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Please report bugs to : Jerome Alet - alet@librelogiciel.com