HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

t
tsm.lpadmin(1M) tsm.lpadmin(1M)
NAME
tsm.lpadmin - add or remove a printer for use with tsm
SYNOPSIS
/usr/tsm/bin/tsm.lpadmin -p
printer -m model
/usr/tsm/bin/tsm.lpadmin -x
printer
DESCRIPTION
tsm.lpadmin is used to add (or remove) a printer to (or from) the LP spooling system when the printer
is connected to the system through a terminal running the Terminal Session Manager (see tsm(1)).
tsm.lpadmin is a shell script that uses lpadmin
in the normal way but also creates a named pipe to
which LP output is directed (see lpadmin(1)). This named pipe is opened by TSM and data flowing from it
is sent to the printer through the terminal.
Options
tsm.lpadmin recognizes the following options:
-p printer Names a printer to be created with an associated pipe. If -p is used, -m
must also be
specified.
-m model Selects a model interface program for printer. model is one of the model interface
names supplied with the LP software (see the Models subsection in the lpadmin(1))
manpage. If -m is used, -p must also be specified.
-x printer Removes printer from the LP system. No other options are allowed with -x.
Security Restrictions
To use
tsm.lpadmin you must be user lp or root.
AUTHOR
tsm.lpadmin was developed by HP.
FILES
/var/spool/lp/tsm.pipes/*
SEE ALSO
tsm(1), lpadmin(1M).
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 557