Specifications

9-2
Guide to Printers and Printing
Adding the Print Queue
At this point, you have physically attached the printer to the terminal and configured its
auxiliary port with the correct printer settings. The following procedures describe the
creation of a local print queue on the host that will access the terminal–attached printer
device.
1. Log on as root or as a member of the printq admin group.
2. Use the smit mkpq fast path to access the Add a Print Queue menu.
Note: The screen content may vary depending on the printer software installed on the
host.
3. Select the ascii option, which takes you to the Printer Type screen.
4. Select the appropriate printer manufacturer or Other. An additional Printer Type screen
is displayed.
5. Select the appropriate printer model. For this example, we selected ibm2380–2. The
TTY Name screen is displayed.
6. Select the tty for the terminal that has your printer attached. For this example, we
selected tty0. The Add a Print Queue screen is then displayed.
7. Enter a descriptive name for the terminal–attached print queue (for example, tty0asc )
in the Name of new PRINT QUEUE to add field, and press the Return key. The print
queue will NOT be created.
Testing the Printer
To verify that the printer is functioning properly, issue an lpstat command to list all available
print queues on the system. The following output is displayed:
# lpstat
Queue Dev Status Job Files User PP % Blks Cp Rnk
––––– ––– –––––– ––––––––– –––– –––– –––– –– –––
4019g1 lp0 READY
4019ps lp1 READY
tty0asc tty0 READY
Use the following enq command to send an ASCII file to the printer:
enq –P tty0asc /etc/qconfig
The file should be printed without altering the display or functionality of the terminal.