Apple 12/640PS manual Example

Models: 12/640PS

1 403
Download 403 pages 61.1 Kb
Page 141
Image 141

mReplace path_to_this_queue’s_spool_directory with the pathname of the unique directory created for this queue.

mOptionally 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:

6Create 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

116Chapter 4

Page 141
Image 141
Apple 12/640PS manual Example