Краткое Руководство По Установке для Ricoh ap204

Скачать
Страница из 301
UNIX Configuration
52
5
Executing the Installation Shell Script
The printing environment is set up automatically when the installation shell
script is executed.
This section explains the contents of the set up when the installation shell script
is executed by SunOS 4.x.
Note
❒ When the installation shell script is not used for the setup, refer to the work-
station operation manual.
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  pomelo  # Network Printer
• 192.168.15.16 is the IP address, pomelo 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 in the network. Each entry is delimited with
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.
Adding an Entry to the /etc/printcap file.
The following entry is added to the /etc/printcap file.
This is the configuration for printing with the lpr command. In order to use the
lpr command to print, you need to edit the /etc/hosts file, add an entry for the
network printer to the /etc/printcap file and create a spool directory.
pomelo_prn|Ricoh Network Printer:\
      :rm=pomelo:\
      :rp=filetype=RPS:\
      :sd=/usr/spool/pomelo_prnd:\
      :lf=/usr/adm/pomelo_prnd-errs:\
      :mx#0:
Note
❒ The /etc/printcap file is used to register the name and attributes of a printer.
You must make an entry for the network printer in the /etc/printcap file of
all workstations using the network printer.