Settingup,connecting,and using yourprinter Settingup,connecting,andusingyourprinter Apple LaserWriter 12/640PS

12 To test the connection, type the
ping
command from a workstation on the same
subnet as the printer:
ping printer_IP_name
If the
ping command responds by telling you that the printer is alive on the
network, the address assignment was successful.
If the
ping command does not respond, or tells you the printer was not
found, then the address assignment failed. Try the steps in this procedure
again, making sure you type the printers Ethernet address exactly as it
appears on the startup page. If it still doesnt work, see the troubleshooting
suggestions in Chapter 13.
13 Test printing with the following command:
lp -d queue_name filename
If the test print doesnt work
If the test document doesnt print, check the configuration by following
these steps:
1 Check whether the
rlp
daemon is running. At the UNIX prompt, type
ps -e | grep rlp
If the process is running, you will see one or more lines of text; it it is not
running, you will see no response.
2If
rlp
is running—that is, you saw one or more lines of text in step 1— kill the process
by typing
kill -15 process_number_from_step_1
3 Make sure the following entry is in the
/etc/inetd.conf
file:
printer stream tcp nowait root /usr/lib/rlpdaemon
rlpdaemon -i
This line tells inetd to start the rlp daemon automatically when a print
request is made (if its not already running).
4 Make sure the following entry is in the
/etc/services
file:
printer 515/tcp spooler
122
Chapter 4