Ricoh AP2610N Printer User Manual


 
Using the Installation Shell Script
7
1
Making the spool directory
Create a spool directory under /var/spool/lpd. The name of spool directory
should be the name of the printer followed by a “d”.
Note
The spool directory is used to control the data used for a print job. For ex-
ample, when a print job is created, a temporary copy of the file data used
for printing is created in the spool directory. All workstations accessing the
network printer need to have a spool directory for the network printer.
A spool directory should be made for every network printer entry listed in
the /etc/printcap file.
The spool directory should normally be made under /var/spool/lpd and
the name should match that listed under the sd capability in /etc/print-
cap. Change the owner and group of the directory to root and lp. The fol-
lowing examples show how to make a /var/spool/lpd/npd spool
directory.
# cd /var/spool/lpd
# mkdir npd
# chown root np
# chgrp lp np
Making the log file
Error messages are logged to a file created in the /var/log directory. The log
file name is the printer name followed by “d-errs”.
Solaris
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 nphost # Network Printer
192.168.15.16 is the IP address, nphost 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.