Apple 12/640PS Printer User Manual


 
m Replace path_to_this_queue’s_spool_directory with the pathname of the
unique directory created for this queue.
m Optionally replace path_to_this_queue’s_log_ file with the unique pathname
of the file where error information from the
lpd command will be logged.
Here’s an example of a pair of
printcap entries that allow users to print
both text and other files to the same printer:
Example
GarysLW_text|[LaserWriter_12_640_PS]:\
:lp=:mx#0:rm=LaserWriterFloor2:\
:rp=text:\
:sd=/usr/spool/lpd/GarysLW_text:\
:lf=/usr/spool/lpd/printerlog
GarysLW_raw|[LaserWriter_12_640_PS]:\
:lp=:mx#0:rm=LaserWriterFloor2:\
:rp=raw:\
:sd=/usr/spool/lpd/GarysLW_raw:\
:lf=/usr/spool/lpd/printerlog:
6 Create and set the privileges for the spool directory specified in step 5:
mkdir path_to_this_queue’s_spool_directory
Example
mkdir /usr/spool/lpd/GarysLW_text
chown daemon /usr/spool/lpd/GarysLW_text
chgrp daemon /usr/spool/lpd/GarysLW_text
chmod 775 /usr/spool/lpd/GarysLW_text
116
Chapter 4