IOPRINT+ and AIX LPD printing service

Issue:
How to configure IOPRINT+ and AIX V4.x.x and above for LPD printing.

Solution:

IOPRINT+ server,

1. Configure the following IOPRINT+ print server settings:

· IP address & subnet mask

· Logical port --> defaults are L1 for parallel port1, L2 for parallel port 2 and L3 for parallel port3.

Note: You will use the same Logical port in step 6 (Name of queue on remote server).

· Connect the IOPRINT+ server to the network. You must be able to successfully ping the IP address of the IOPRINT+ server before continuing.

 

AIX server,

2. Add IOPRINT+ server name and IP address in /etc/hosts file. For example,

192.65.146.97 SCA76818

3. Add the IOPRINT+ server name to the /etc/hosts.lpd file. For example, SCA76818. The IOPRINT+ server name is located on the label at the bottom of the unit.

4. Start the LPD printing Daemon using the following command: startsrc -s qdaemon

5. Start the AIX system administrative tool by typing the following command: smit

6. Select "Print Spooling", then "Add a Print Queue", then "Remote".

Name of queue to add --> You can choose any name to represent your print queue on the AIX server. In this example we will name it "printer2".

Hostname for remote server: enter the server name of IOPRINT+. The Server name is also located on the label located on the bottom of the IOPRINT+ server. For example, SCA76818

Name of queue on remote server: must enter the Logical port number configured in the IOPRINT+ for the parallel port you wish to print to. Use the Logical port L1 for parallel port 1, L2 for parallel port 2, L3 for parallel port 3

 7. Print using the following command: lp -d printer_queue file_name where printer_queue is the "Name of queue to add" (printer2) from step 6, file_name is the print file to print.

For example, lp -d printer2 /etc/hosts

 

Other useful information

If no output on the printer, do the following:

Start the print queue as follows: smit --> printer spooling --> Manage a print queue --> Start a print queue. In the above example, the print queue to start would be "printer2".

Stop and start the LPD printing daemon as follows: stopsrc -s qdaemon then startsrc -s qdaemon


Article ID:
213
Published:
2/6/2003 9:39:51 AM
Last Modified:
2/6/2003 11:27:28 AM
Issue Type:
Configuration