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
accept (spoolername) enable (spoolername) lpsched
Then create a model script: vi/usr/spool/lp/model/lan.model
and enter:
MODEL=‘basename $0
REALMODEL=‘echo$0 /sed
#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 TMPPATH=/tmp/$MODEL.data
#invoke original model and write to temporary file $REALMODEL “$@‘TMPPATH
Installing in UNIX