Using the Installation Shell Script
9
1
HP-UX
❖
❖
❖
❖
Adding the IP address and host name to the /etc/hosts file
The following line is added to the /etc/hosts file.
192.168.15.16
np
# Network Printer
•
192.168.15.16
is the IP address,
np
is the host name, from # to the end of the
line is a comment.
Note
❒
The /etc/hosts file contains a list of the IP addresses and their host names
of all of the hosts communicating on the network. Each entry is delimited
with a space or a tab, and each line is separated with a return.
❒
If you do not use NIS or DNS, you must manually enter the IP address and
host name of each workstation using the network printer in the /etc/hosts
file.
❖
❖
❖
❖
Registering the printer
The installation shell script registers the printer as a remote printer following
the procedure below.
A
Stop the scheduler.
/usr/lib/lpshut
B
Register the printer.
/usr/lib/lpadmin -P
np
-v/dev/null -mrmodel
-orm
nphost
-orp
lp
-ob3
•
np
is the printer name,
nphost
is the host name.
C
Set the printer so that the print job is listed in the print queue.
/usr/lib/accept
np
D
Set the printer to perform the print job.
/usr/lib/enable
np
E
Restart the scheduler.
/usr/lib/lpsched
Summary of Contents for SCRIPT2
Page 12: ...viii...
Page 24: ...Getting Started 12 1...
Page 46: ...Configuring the Printer for the Network 34 3...
Page 72: ...UE USA G063 8647...
Page 84: ...x...
Page 118: ...Paper and Other Media 34 3...
Page 209: ...125 MEMO...
Page 210: ...126 UE USA G063 MEMO...
Page 212: ...UE USA G063 8667...
Page 274: ...Windows NT 4 0 Configuration 48 3...
Page 300: ...Macintosh Configuration 74 5...
Page 339: ...Copyright 2000...
Page 340: ...Network Interface Board Operating Instructions EE GB UE USA G063 8680...
Page 366: ...Using RICOH SCRIPT2 with Windows 22 1...
Page 374: ...Using RICOH SCRIPT2 with a Macintosh 30 2...
Page 380: ...36 EE GB UE USA G063 MEMO...
Page 381: ...Copyright 2000...
Page 382: ...RICOH SCRIPT2 Operating Instructions EE GB UE USA G063 8900...
Page 388: ...iv...
Page 404: ...16 UE USA G063 MEMO...
Page 405: ...Copyright 2000...
Page 406: ...UNIX Supplement UE USA G063 8697...