Chapter 5 SCO Setup
160
3. Create the log and account files specified by the
lf=
and
af=
entries in the printcap entry for this printer.
Example:
touch /usr/spool/lpd/6500-v/log
touch /usr/spool/lpd/6500-v/acct
4. Change permissions and ownership on the spool directory and
everything within it.
Example:
chmod -R g+rwX,o+rX /usr/spool/lpd/ 6500-v
chmod -R daemon.daemon /usr/spool/lpd/ 6500-v
5. Start the printer daemon for this new printer.
Example:
lpc start 6500-v
You now have a new printer which relies on LPR/LPD to print to a
Ethernet Interface printer. Use the following command to test
printing:
Syntax:
lpr -P printername filename
Example:
lpr -P 6500-v /etc/hosts