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
Содержание SCRIPT2
Страница 12: ...viii...
Страница 24: ...Getting Started 12 1...
Страница 46: ...Configuring the Printer for the Network 34 3...
Страница 72: ...UE USA G063 8647...
Страница 84: ...x...
Страница 118: ...Paper and Other Media 34 3...
Страница 209: ...125 MEMO...
Страница 210: ...126 UE USA G063 MEMO...
Страница 212: ...UE USA G063 8667...
Страница 274: ...Windows NT 4 0 Configuration 48 3...
Страница 300: ...Macintosh Configuration 74 5...
Страница 339: ...Copyright 2000...
Страница 340: ...Network Interface Board Operating Instructions EE GB UE USA G063 8680...
Страница 366: ...Using RICOH SCRIPT2 with Windows 22 1...
Страница 374: ...Using RICOH SCRIPT2 with a Macintosh 30 2...
Страница 380: ...36 EE GB UE USA G063 MEMO...
Страница 381: ...Copyright 2000...
Страница 382: ...RICOH SCRIPT2 Operating Instructions EE GB UE USA G063 8900...
Страница 388: ...iv...
Страница 404: ...16 UE USA G063 MEMO...
Страница 405: ...Copyright 2000...
Страница 406: ...UNIX Supplement UE USA G063 8697...