Adding an Xstation Attached Printer at AIX 4
About this document
Testing the print queue
This document describes how to add an AIX queue to print to a printer that is
attached to an IBM Xstation. The Xstation is connected to the
system through the network.
This document applies to AIX Versions 4.x.
Related information on this topic can be found in the following locations:
Adding an Xstation Printer to an Existing Queue from the AIX Guide to
Printers and Printing.
Configuring an Xstation Printer and Adding a Print Queue from the AIX
Guide to Printers and Printing.
The product documentation library is also available:
- To add an Xstation printer queue, access as one of the following
- a member of the printq group
- Have a network attached Xstation with an available printer port.
- Printer is set to the proper attachment type, serial or parallel.
- When using baud rate, make sure the printer matches AIX settings.
- Enter the SMIT fastpath:
- Select the attachment type:
xstation Printer Attached to Xstation
- Select the manufacturer of the printer. If the manufacturer of your
printer is not listed, select Other to use a generic printer definition.
- Select the printer model. If your printer model is not listed:
- select a printer with similar emulations and characteristics, or
- select a generic printer definition. If you select a generic
printer, there will be no printer initialization and no qprt flags will work.
- Enter the Xstation name. See your network administrator.
- Select one of the following Xstation types:
- Xstation 120
- Xstation 130
- Xstation 140
- Xstation 150
- Xstation 160
- Select parallel or serial port.
- p Parallel
- s0 Serial Port 0
- s1 Serial Port 1 - 150,160
- Enter the name of the queue to add.
- Review and modify the printer connection characteristics as
- Select Do. If the queue has been added successfully, a message
displays stating that the queue has been added.
To test the print queue, make sure you use a file that is appropriate for the
printer you have attached. If you are testing an ASCII text or PCL queue,
use one of the two following commands:
Both of these commands will print a single page to the printer.
- lptest 10 10 | qprt -P <queue>
- enq -P<queue> /etc/motd
If you are testing a printer that prints only PostScript or HPGL, print a
known good file or use the following commands:
lptest 10 10 | enscript -d<psqueue>
qprt -Ban -P<ps_queue> /usr/lib/lpd/pio/burst/H.ps
This will produce a page that contains rows of ### and lines with percent
signs but will print a banner page and only one other page.
With HPGL this process can be more difficult, so it is best to use a known good
- Can you ping the Xstation?
- Are you using the right cable for the port you have chosen?
- Is an interposer required?
- Do the printer and AIX serial settings match?
- Slow down the baud rate.
[ Doc Ref: 91763075414786 Publish Date: Feb. 28, 2001 4FAX Ref: 6448 ]