Set up for HP-UX System
There are two methods of printing from HP UX, ftp and rlp (lpr).
Both are set up using SAM. Enter the IP and Host name in the
/etc/hosts file before starting SAM.
FTP SCRIPT
Type: lpshut
lpadmm -p(spoolername) -m(modelscript)
-v/dev/null
accept (spoolername) enable (spoolername)
lpsched
Then create a model script:
vi/usr/spool/lp/model/lan.model
and enter:
$0
REALMODEL=‘echo$0 /sed -e “s%$MODEL %model.lan
/$MODEL%”
# This variable may be initialized when the script is installed
in the spooler.
# If not use the name:
PERIPH=
if [“$PERIpH”=““]
then
PERIPH=$MODEL
if
# Path for output of the original model
# invoke original model and write to temporary file
$REALMODEL
Installing in UNIX 5-13