Apple LaserWriter 12/640 PS User Manual

Page 85

Advertising
background image

5

Add the following entry to the

/etc/printcap

file:

printer_queue_name

|[

description_of_ printer

]:\

:lp=:mx#0:rm=

printer_IP_name

:\

:rp=

printer_queue_name

:\

:sd=

path_to_this_queue’s_spool_directory

:\

:lf=

path_to_this_queue’s_log_ file

:

Fill in the parameters in italics as follows:

m Replace printer_queue_name with the name the user should use to

reference the printer.

m Replace description_of_printer with a comment describing the printer.
m Replace printer_IP_name with the IP name you assigned to the printer in

“Step 3: Assigning an IP Address to the Printer,” earlier in this chapter.

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

printcap

entry:

Example

GarysLW|[LaserWriter_12_640_PS]:\

:lp=:mx#0:rm=LaserWriterFloor2:\

:rp=GarysLW:\

:sd=/usr/spool/lpd/GarysLW:\

: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

chown daemon /usr/spool/lpd/GarysLW

chgrp daemon /usr/spool/lpd/GarysLW

chmod 775 /usr/spool/lpd/GarysLW

85

Setting Up the Printer for UNIX Users

Advertising