UNIX Configuration
12
1
❖
❖
❖
❖
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.
❖
❖
❖
❖
Registering the printer
The installation shell script registers the printer as a remote printer.
A
If your workstation is Solaris 2.5.1, register the print server and print client
to the print service.
# lpsystem -t bsd -R 0 -y
″″″″
Network Printer
″″″″
nphost
Содержание Aficio AP400N
Страница 1: ...UNIX Supplement...
Страница 4: ...ii...
Страница 6: ...2...
Страница 37: ...Copyright 2003...
Страница 38: ...UNIX Supplement GB GB EN USA G095 8610...