Apple LaserWriter 12/640 PS User Manual

Page 84

Advertising
background image

Configuring Sun OS version 4.1, Ultrix, 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

Make sure the printer’s IP name and address are entered in the

/etc/hosts

file.

If you’re using Network Information Service (NIS), see the NIS manual for
instructions on setting up an IP name and address.

4

Make 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/lpd

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, add

the

lpd

command to the

/etc/rc

file. The following is an example

/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

84

Chapter 4

Advertising