Section IV - TCP/IP

2.Make sure the LPD daemon is running on the Sun-OS or Ultrix system by issuing 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 May 24 0:01 /usr/lib/lpd

If the LPD daemon is not running, start the daemon by logging into the Sun-OS or Ultrix machine as root and issuing the following command at the UNIX prompt:

/usr/lib/lpd

Verify that the daemon is running by using the “ps” command described previously.

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

IV - 104 OKI OkiLAN 6010e User’s Guide

Page 194
Image 194
Oki 6010E manual Ps aux grep lpd, Root 135 0.0 0.0 52 0 ? IW May 24 001 /usr/lib/lpd, Usr/lib/lpd, If -f /usr/lib/lpd then