Configuring IBM's AIX ver.3.x for Printing with the OkiLAN 6200e
This application note describes the configuration of the printing system on IBM’s AIX version 3.x of the UNIX operating system. The following specific names will be used to represent general devices or concepts.
lj4 - The local queue name on the AIX system to which print jobs that are destined for a printer attached to the OkiLAN 6200e will be directed.
OKIPRINTER - The host name of the remote system which is the OkiLAN 6200e. For example, to telnet to the OkiLAN 6200e and invoke the OkiLAN 6200e Configuration utility, you would type telnet OKIPRINTER. A host name is not required for the OkiLAN 6200e, the IP Address may be used.
yourqueuename - This is the name of the queue on the OkiLAN 6200e and must end with 1 or 2, depending on the port selected to service the print jobs. If FF, LF or NF are the last two letters of the queue name, the job will be converted accordingly. For more information, see Remote Print Queue Names.
Before you proceed, the name OKIPRINTER and the IP address assigned to the OkiLAN 6200e should be in the “/etc/hosts” file on the AIX system.
To configure the AIX machine so that users can spool print jobs to the pcl2 print queue on the OkiLAN 6200e named OKIPRINTER, do the following:
Login to the AIX machine as root.
Invoke the SMIT utility by typing: AIX> smit <enter>
To add a remote queue, select the following options from the SMIT menu: Spooler (Print Jobs and Printers) Manage Remote Printer Subsystem Client Services Remote Printer Queues Add a Remote Queue A form appears asking you to define a remote print queue.
Enter information into the following fields as described. All other fields should use the default value.
NAME of queue to add - lj4 This is the name of the local print queue.
DESIGNATION HOST for remote jobs - OKIPRINTER This is the name of the OkiLAN 6200e. This host name must also be contained in the “/etc/hosts” file.
Name of QUEUE on remote printer - yourqueuename
NAME of device to add - “any arbitrary name” This is a device name required by AIX, but this name has no effect on the print service for the OkiLAN 6200e. Enter any name of seven characters or less. The name does not need to be an existing device, nor does it need to be unique.
Start the lpd subsystem with SMIT: Spooler (Print Jobs and Printers) Manage Remote Printer Subsystem Server Services lpd Remote Printer Subsystem Start Using the lpd Subsystem Start BOTH Now and at System Restart
Start the qdaemon by typing: AIX> startsrc -s qdaemon