Technical information
5Add the following entry to the
/etc/printcap
file:
printer_queue_name|[description_of_printer]:\
:lp=:mx#0:rm=printer_IP_name:\
:rp=lp:\
: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 If you wish, 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_8500]:\
:lp=:mx#0:rm=LaserWriterFloor2:\
:rp=GarysLW:\
:sd=/usr/spool/lpd/GarysLW:\
:lf=/usr/spool/lpd/printerlog:
96
Chapter 4










