beautypg.com

Setting up for hp-ux system – Epson C82346 User Manual

Page 65

background image

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:

Any name

Remote System Name:

Use the host name in /etc/hosts

Remote Printer Name:

nothing or ‘Ipa’, ‘Ipaf’ etc if using

filters.

Remote Council Model:

/bin/true

Remote Status Model:

/bin/true

Make System Default:

Enter as appropriate

Printer Class:

Leave out

Restrict Council:

Leave out

Remote Printer on BSD system: 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