HP-UX Reference (11i v1 05/09) - 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(1)
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 the LP spooling system when the printer is con-
nected 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 topic in the lpadmin(1)) manual
entry. If -m is used, -p must also be specified.
-x printer Removes printer from the LP system. No other options are allowed with -x.
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
lpadmin(1M), tsm(1).
Section 1M−−1022 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005