Technical information

Configuring Sun OS version 4.1, A/UX, or other BSD systems
1 Log in as
root
.
2 Assign an IP address and IP name to the printer, as described in “Step 3: Assigning an
IP Address to the Printer,” earlier in this chapter.
3 The IP address must be entered in any of the following: DNS, NIS, or the
/etc/hosts
file.
The most straightforward configuration is to use /etc/hosts. However,
your network administrator may choose to use DNS or NIS.
If youre using Network Information Service (NIS), see the NIS manual for
instructions on setting up an IP name and address.
4Make sure the
lpd
daemon is running on the Sun OS system by typing the following
command at the UNIX prompt:
ps aux | grep lpd
If the lpd daemon is running, you should see output similar to
root 135 0.0 0.0 52 0 ? IW Oct 17 0:01 /usr/lib/lpd
If the lpd daemon is not running, you will not see any output. Start the
daemon by logging in as
root and typing this command at the UNIX
prompt:
/usr/lib/lpd
You can verify that the daemon is running by using the ps command
described in this step.
Note: To star t t h e
lpd daemon automatically when the system boots, add
the
lpd command to the /etc/rc file. The following is an example of an
/etc/rc file (syntax varies across operating systems):
if [ -f /usr/lib/lpd ] ; then
rm -f /dev/printer /var/spool/lpd.lock
/usr/lib/lpd;echo -n ' printer'
fi
95
Setting Up the Printer for UNIX Workstations or TCP/IP Users