Configuring Sun OS version 4.1, Ultrix version 4.2, or other BSD systems

1Log in as root.

2Assign 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.

3Make sure the printer’s IP name and address are entered in the /etc/hosts file.

If you’re using Network Information Service (NIS), please 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 or Ultrix 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/lpr and you should skip to step 5.

If the lpd daemon is not running, you will not see any output, and you should 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 start the lpd daemon automatically when the system boots, make sure that lines similar to the following exist in the /etc/rc file:

if [ -f /usr/lib/lpd ] ; then

rm -f /dev/printer /var/spool/lpd.lock /usr/lib/lpd;echo -n ' printer'

fi

Setting Up the Printer for UNIX Users

127

Page 152
Image 152
Apple 12/600PS manual Ps aux grep lpd