Apple 12/640PS Printer User Manual


 
You can verify that the daemon is running by using the ps command
described in this step.
Note: To start the
lpd daemon automatically when the system boots, add
the
lpd command to the /etc/rc file. The following is an example
/etc/rc file (syntax varies across operating systems):
if [ -f /usr/lib/lpd ] ; then
rm -f /dev/printer /var/spool/lpd.lock
/usr/lib/lpd;echo -n ' printer'
fi
5 Add the following entry to the
/etc/printcap
file:
printer_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.
115
Setting Up the Printer for UNIX Users