Apple 12/640PS Printer User Manual


 
11 Add the following entry to the
/etc/printcap
file.
local_print_queue_name|[description_of_printer]:\
:lp=:mx#0:rm=printer_IP_name:\
:rp=raw_or_text:\
: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. Typically, names indicate the location of the printer
and what sort of files it should be used for.
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 raw_or_text with the word raw or the word text. In the
printcap
entry, this parameter is usually for the remote print queue name; however,
since the LaserWriter 12/640 PS does not require a remote print queue
name, it uses this parameter to determine how to handle the end-of-line
character, as follows:
m
text indicates that the printer should append a carriage return to the
end of each line in the document as it’s printed; otherwise, each new
line of text will start where the previous one left off, creating a stairstep
effect. Use this for ASCII files.
m
raw indicates that the printer should not add any special control
characters to the document, as is appropriate for PostScript and PCL5
print jobs.
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.
12 Create the spool directory that you specified in step 11:
mkdir path_to_this_queue’s_spool_directory
124
Chapter 4