tsm.lpadmin - add or remove a printer for use with tsm(1)
/usr/tsm/bin/tsm.lpadmin -p printer -m model
/usr/tsm/bin/tsm.lpadmin -x printer
tsm.lpadmin is used to add (or remove) a printer to 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.
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.
To use tsm.lpadmin you must be user lp or root.
tsm.lpadmin was developed by HP.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000