❒ 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 npd
# chgrp lp npd
❖ ❖ ❖ ❖ 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".
Note
❒ The log file is used for logging some errors or warning messages by the
UNIX workstation.
❒ The log file should be made for every network printer entry listed in the
/etc/printcap file.
❒ The log file should normally be made under /var/log directory and the
name should match that listed under the lf capability in /etc/printcap.
Change the owner and group of the log file to root and lp. The following
examples show how to make a /var/log/npd-errs file.
# cd /var/log
# touch npd-errs
# chown root npd-errs
# chgrp lp npd-errs
Solaris
❖ ❖ ❖ ❖ 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 which you 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 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.
Using the Installation Shell Script
1
11