PLTADM(1ICD)

NAME
pltadm - the plotter, pen and paper usage administrator

SYNOPSIS
pltadm [options] [file]

OPTIONS

-gGRP
    list plotter-usage for group 'GRP' only (def.: all groups), usefull only with -lg option.

-hHOST
    list entries from host 'HOST' (default: current host), usefull only with -lg (and for testing).

-l  list all data (from plotter-account-file and resource-admin-file).
    Combinations of -l options are possible:
    -lpg	is equal to:  -lp and -lg
    -lpr	is equal to:  -lp and -lr
    -lrg	is equal to:  -lr and -lg
    -lprg	is equal to:  -l

-lg list plotter-usage per group; if the file "pltcost" is present in the current directory, the total cost per group is also calculated.

-lp list plotter-usage only (per-user total).

-lr list resource-usage (paper and pen consumption).

-mMmmYy
    restrict processing to specified month and year.

-p1...8
    append(s) record(s) to resource-admin-file indicating starting use of new pen(s) with number(s) as specified (e.g. -p1 or -p1248).

-r  append record to resource-admin-file indicating starting use of a new roll of paper.

At least one of the -l, -p or -r options must be present;
they may all be present simultaneously, in which case the -p and -r options will be handled first, before the -l option. Multiple use of any of the -l, -p or -r options is not allowed.

DESCRIPTION
Pltadm is a program for listing and administration of plotter, pen and paper usage of the HP-plotter (the plotter queue spooling device). The only argument (optional) specifies an alternate name for both plotter-account-file and resource-admin-file (as input- and/or output-file). Default plotter-account-file and resource-admin-file are "/usr/adm/pltacct" and "/usr/adm/pltrusg".

AUTHOR
P.E. Platzbecker

FILES
ICDPATH/lib/priv_users	list of privileged users
/usr/adm/pltacct	plotter-account-file
/usr/adm/pltrusg	resource-admin-file
./pltcost	file with cost-parameters

LIMITATIONS
Only those users listed in "ICDPATH/lib/priv_users" are allowed to execute this program.