CHAPTER 9 LAT NETWORK CONFIGURATION

6.You now need to establish a host-initiated connection. For example:

lcp -h tty05:BRN_310107:P1

7.Make the spool directory as shown in the following example:

cd /usr/spool mkdir lp1 chown daemon lp1

Again substitute your actual printer name for "lp1".

8.Print a file to verify the connection. For example, the following command prints the printcap file:

lpr -Plp1 /etc/printcap

"lp1" in this example must be replaced by your actual printer name. You may find that you get an error message "Socket is already connected". If this happens, simply try printing again and the message should go away and the job should be printed. If you get any other message, double check your configuration.

If you have trouble printing, enter the lpstat -t command to get the status of the print job. If the job is hung in the queue, you may have a configuration problem: Refer to the Troubleshooting portion of this userguide for further assistance.

9-12