Setting 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 address and Host name in the /etc/hosts file before starting SAM.

RLP Setup

On the printer definition page of SAM, use the following settings:

Printer Name:

Remote System Name:

Remote Printer Name:

Remote Council Model:

Remote Status Model:

Make System Default: Printer Class:

Restrict Council:

Remote Printer on BSD system:

Any name

Use the host name in /etc/hosts nothing or ‘Ipa’, ‘Ipaf’ etc if using filters.

/bin/true

/bin/true

Enter as appropriate

Leave out

Leave out

Leave out

Use ‘lpd -d printer name’ or rlp to print.

FTP SCRIPT

Type:lpshut

lpadmin -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:

MODEL=‘basename $0’

REALMODEL=‘echo $0 /sed -e “s%$MODEL %model.lan /$MODEL%“’

Using UNIX 5-13