
Printing from UNIX: Configuring the Operating System • 185
5. Create the spool directory and error log file.
Example
For spool Directory PRINTER_lp and Error Log file
PRINTER_lp_errs
# mkdir /usr/spool/PRINTER_lp
#touch/usr/spool/PRINTER_lp/
PRINTER
_lp_errs
# chown –R daemon /usr/spool/PRINTER_lp
# chgrp –R # daemon /usr/spool/PRINTER_lp
6. Check that lpd (printer daemon) is activated.
# ps aux | grep lpd
7. If lpd is not running, start it by logging in as superuser and
executing
# /usr/lib/lpd &
Sun Solaris 2.x Configuration
The procedure below must be used for registering a remote printer.
NOTE
Admintool is normally used to register remote printers
on Open Windows. However, it cannot be used here,
because the data recipient and queue have the same
name.
NOTE
If Solaris 2.x is connected to the remote printer for a
long period according to the system specifications,
errors and forced disconnection may occur.
Therefore, if paper tearing, off-line and other errors
result in waiting time, printing may have to be aborted.