12To 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 printer’s Ethernet address exactly as it appears on the startup page. If it still doesn’t work, see the troubleshooting suggestions in Chapter 13.

13Test printing with the following command: lp -dqueue_name filename

If the test print doesn’t work

If the test document doesn’t print, check the configuration by following these steps:

1Check 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 -15process_number_ from_step_1

3Make 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 it’s not already running).

4Make sure the following entry is in the /etc/services file: printer 515/tcp spooler

122Chapter 4

Page 147
Image 147
Apple 12/640PS manual Printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon