Ricoh 2018D Printer User Manual


 
Using the Installation Shell Script
9
1
After Executing the Installation Shell Script
The printing environment is automatically set up when the installation shell
script is executed.
This section describes setup contents when the installation shell script is execut-
ed under Red Hat Linux, Solaris, and HP-UX.
Linux
Adding the IP address and host name to the /etc/hosts file
The following line is added to the /etc/hosts file. The IP address and printer
host name previously entered in the installation script will be used:
192.168.15.16 nphost # Network Printer
•“192.168.15.16 is the IP address. nphost is the host name. From # to the
end of the line is the comment.
Note
The /etc/hosts file contains a list of the IP addresses and names of all 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 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, which is the configu-
ration for printing with the lpr command. In order to use the lpr com-
mand 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:
##PRINTTOOL3## REMOTE
np|Network Printer:
:rm=nphost:
:rp=option:
:sd=/var/spool/lpd/npd:
:lf=/var/log/npd-errs:
:sh:
:mx#0:
Note
The /etc/printcap file is used to register the name and attributes of a print-
er. You must make an entry for the network printer in the /etc/printcap
file of all workstations using the network printer.
You must make an entry for each printer option when using the same
printer.