Updated Apr 7 2002

The IBM AS/400 Page

This page is here to provide you with links and support information in connecting your Canon printer in a IBM AS/400 environment.

Please note we are not AS/400 experts and Canon does not provide technical support for the AS/400 or any of the third party products suggested in this page.
This information has been provided by technicians who have successfully connected Canon printers in these environments and is provided to you as a service.
If you have questions or future service issues with third party suggestions offered in this page, we suggest you direct them to the third party solution provider

1.  I'd like to see some AS/400 suggestions from the field
2.  I'd like to see some AS/400 installation notes
3.  I need help configuring the AS/400 for a Printer
4.  I'd like some AS/400 Screen Shots in PDF format
5.  I need some 3rd party AS/400 Hardware Solutions
6.  A customer wants to do drawer selection. I need help


1.  I'd like to see some AS/400 suggestions from the field
Here is a short thread borrowed with permission from cslist and Matthew Klestrup.

Subject: [cslist] iR/AS400
Hi All
I need to know whether the new iR series (2200/5000/8500/7200/105) can be connected to IBM AS/400 System.

Thanks .....

Subject: RE: [cslist] iR/AS400

It depends on what kind of connection you are expecting to have from the AS/400 to the iR's - or between the AS/400 and the iR's! And what kind of data

stream you are sending.

LPR is one thing, but if you want two way communication with port 9100 on the iR's you have a problem for the moment. And normally this is what the AS/400

admins want so they can control the jobs and get status.

You might also have to force the iR into PCL instead of Auto.

I kept a mail from Rudy Beset (hope it's okay, Rudy?) I want to share with you:

"I myself hav some expirience in connecting AS400 to our IR/GP series, and this is the case:

GP200-335-505-605 With Firmware 2.1 on the EFI controller:
This works great on Poort 9100
Connect the GP as an TN5250E into the AS400
Use lexmark(4 cassettes possible) or HP5si/HP4 (2 cassettes and manual feed possible) emulation
Cassette selection and duplexing is possible.

NO AFP/IPDS PRINTING IS POSSIBLE (for this feature you MUST use I-data or AXIS)
Ir5000/2200/3300 : Sorry not possible without I-data box.
But is DOES work great with I-data boxes.
AXIS boxes seem to have trouble waking up after our machine goes into sleepmode (the box seems to go to sleep as well)
With I-data boxes many features are possible. (even AFP/IPDS printing)
So our port9100 on ir5000 family is NOT a normal 9100 port but especially for the IPP1.0 protocol and some RAW ip printing.

UNIX/LINUX RAW ip printing works fine on port 9100. (tested it myself) AS400 seems to need additional commandcodes wich are not supported at the moment.(like

status requests and so on)"
Med venlig hilsen / Kind regards,

Matthew Klestrup

Matthew comes through again.  

If I had the money I'd fly over and kiss him (if he is into it of course)
We are trying to place an IR 2200 in an environment that prints from windows and a mainframe.
Canon says their copiers will receive jobs directly from the mainframe, but they do not support it.
The customer is not worried about functionality from the mainframe, so we do not want to push the I/O Print Server.

So far the AS400 operator has been unable to print directly to the IR 2200.
The problem is most likely, that the iR doesn't support the PJL communication from the AS/400.
Use SNMP instead. That works with iR's without an extra print server box or similar.
On the AS/400 choose "HP5SI" for the "Manufacturer type and model" and "IBMSNMPDRV" instead of "HPPJLDRV" for the "System driver program".
The "Lan attachment" should be "LAN" and the "Port number" 9100.

You need to enable SMNP and RAW print on the iR device.
Med venlig hilsen / Kind regards,
Matthew Klestrup

2.  I'd like to see some AS/400 installation notes
Output queue . . . . . . . . . . > AnyName       Name you decide
Library  . . . . . . . . . . . > QUSRSYS       Name, *LIBL, *CURLIB
Maximum spooled file size:
Number of pages  . . . . . . .   *NONE         Number, *SAME, *NONE
Starting time  . . . . . . . .                 Time
Ending time  . . . . . . . . .                 Time
+ for more values
Order of files on queue  . . . .   *FIFO         *SAME, *JOBNBR, *FIFO
Remote system  . . . . . . . . .   *INTNETADR
Remote printer queue . . . . . .   'varies'    Network Adapter Specific
Most Ricoh Blk & Wht 'PORT1'
Most Canon 'print'
Axis PS 'lp1'
JetDirectPS 'raw'
Oce3165 'printer name'
(Check Config Sheet)
Writers to autostart . . . . . .   1             1-10, *SAME, *NONE
Queue for writer messages  . . .   QSYSOPR       Name, *SAME
Library  . . . . . . . . . . .     *LIBL       Name, *LIBL, *CURLIB
Connection type  . . . . . . . .   *IP           *SAME, *SNA, *IP,
Destination type . . . . . . . .   *OTHER        *SAME, *OS400,
*OS400V2, other...
Host print transform . . . . . .   *YES          *SAME, *YES, *NO
User data transform  . . . . . .   *SAME         Name, *SAME, *NONE
Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
Manufacturer type and model  . .   *HP5SI
Workstation customizing object     *NONE         Name, *SAME, *NONE
Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
Image configuration  . . . . . .   *NONE         *SAME, *NONE,
Internet address . . . . . . . .   '    '
VM/MVS class . . . . . . . . . .   *SAME         *SAME, A, B, C, D, E,
Forms Control Buffer . . . . . .   *SAME         Character value, SAME,
Destination options  . . . . . .   'XAIX'
Print separator page . . . . . .   *NO           *SAME, *YES, *NO
User defined option  . . . . . .   *NONE         Option, *SAME, *NONE
+ for more values
User defined object:
Object . . . . . . . . . . . .   *NONE         Name, *SAME, *NONE
Library  . . . . . . . . . .                 Name, *LIBL, *CURLIB
Object type  . . . . . . . . .                 *DTAARA, *DTAQ,
User driver program  . . . . . .   *NONE         Name, *SAME, *NONE
Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
Spooled file ASP . . . . . . . .   *SYSTEM       *SAME, *SYSTEM,
Text 'description' . . . . . . .   'IKON Printer Copier'
Additional Parameters
Display any file . . . . . . . .   *NO           *SAME, *NO, *YES,
Job separators . . . . . . . . .   0             0-9, *SAME, *MSG
Operator controlled  . . . . . .   *YES          *SAME, *YES, *NO
Data queue . . . . . . . . . . .   *NONE         Name, *SAME, *NONE
Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
Authority to check . . . . . . .   *OWNER        *SAME, *OWNER, *DTAAUT
Manufacturer type and model  . .   *HP5SI


3.  I need help configuring the AS/400 for a Printer
This information was sent to us by a Ikon field technician

The following was put together by an AS400 System Engineer.
This is to be used only as a guide for someone that does know AS400s, not as a rule. (Versions vary and some commands may also.)
Most AS400 have had great success with these notes.
The printer does not have to be on the local LAN, but routing must be configured on the AS400.

1. Create a HOSTS table entry on the AS400:

    A: Enter CFGTCP,  Hit F4, menu option 10.
    B: The 'remote system' is the printer you are adding. (Should be something meaningful - Remember this name)
    C: The 'IP address' is one assigned to the printer.

2. Creating the OUTQ:

    A: Enter the command CRTOUTQ, then press [F4]
    B: OUTQ - The AS400 name of the queue (and device) to be set up.
    C: Library needs to be QUSRSYS
    D: RMTSYS - Host name of the printer you assigned in step 1  (Press [F10] for more options)
    E: RMTPRTQ Can be one of several options, depends on the printer NIC.

         'raw'  For printers with JetDirect interfaces. (raw1, raw2, raw3)
         'pr1'  For Some IBM printers and some Axis Print Servers
         'print'For many Canon Black and White Copier / Printers
         'PORT1'For many Ricoh Black and White Copier / Printers
         'DAC'  For Oce3165 (Check config sheet for 'printer name')
         'text' For many others
         Note: some NICS may be case sensitive

    F: AUTOSTRWTR enter 1, to automatically start a remote writer  (Leave *none to manually start writer)
    G: MSGQ- Self-explanatory
    H: CNNTYP - Must be *IP
    I: DESTYPE - Must be *OTHER  (Press Enter)
    J: TRANSFORM - Enter *YES
    K: MFRTYPMDL - Best match for printer. Personal Favorite is *HP5SI
    L: DESTOPT - Enter XAIX (for printing multiple copies) or
       XAUTOQ (Large jobs, several hundred pages)
       If both separate with a space (XAIA XAUTOQ)
       Otherwise leave default of *NONE.
    M: SEPPAGE - Customer preference
    N: TEXT - Descriptive information, if desired.

3. Create a 'dummy' printer device to link to the OUTQ.

    A: Enter command CRTDEVPRT, press [F4]
    B: DEVD - must be the same as the OUTQ name
    C: DEVCLS - *VRT
    D: TYPE - 3812 (since this is a virtual description, it does not have to match the hardware.
    E: MODEL - 1 (press enter)
    F: ONLINE - *NO
    G: TEXT - 'dummy description for Remote OUTQ - do not vary ON'  (Just a suggestion)

You should get a message that the OUTQ already exists. This is what you want.  If you do not get this message, make sure the OUTQ was created in QUSRSYS.
Also, be aware that this printer description should not be varied ON.   It is a 'link' only.

Users can now print to the network printer by specifying either the printer name or OUTQ. To manage printouts, they will need to enter the
command WRKOUTQ. Since there is no actual printer/writer connection, the GO PRINTER menu will not work. Also, the user will see the status
of SND while a job is printing.
Note: use WRKWTR *ALL to see remote writers. Option 5 will display the writer, [F17] will show the writer job log.


4.  I'd like some AS/400 Screen Shots
We have two AS/400 Screen Shot PDF's available for download
Click to view or download (Right click, save target as)
AS/400 Screenshots 1  (172 KB PDF)
AS/400 Screenshots 2  (450KB PDF) Provided by John Brewer


5.  I need some 3rd party AS/400 Hardware Solutions
Update 08/26/2002:
I-O corp has released the 5435dp.  It supports IPDS, SCS, and AFP and gives full functionality to the iR 330/400 550/600 2200/2800/3300 5000/5000i 6000/6000i
and the L1/M1
The 5435dp does not currently support the iR 8500 or 105.  Support for these products should be available by the end of 2002
More information on the 5435dp is available on the Canon Canada iR INF 35/02
Web site
i-Data HostCom external interfaces
Print Servers that support
IBM S/390 and/or AS/400 printing to Ethernet and Token Ring LAN-connected printers.
I-O Print Server products
Connectivity Solutions
for IBM AS/400 and 3270 System Needs
Axis host to Lan print servers
Protocol converters for IBM coax and twinax networks

6.  A customer wants to do drawer selection. I need help
I borrowed this from a recent post from cslist2
A customer told me the following about AS400 HPT/ PCL printing.

With a ROUTQ configuration the AS400 assumes that the device has the functionality of a printserver and that the print functionality is done on that printserver.
With a TCP/IP 9100 connection on the AS400 the AS400 acts as a
printserver and a page range is possible.
With this connection a
bi-directional connection is needed.
This is done by PCL PJL communication
codes or SNMP.
The iR(GP)210 to 605 supports PJL with firmware level 2.1 en
the actual iR(i)'s supports only SNMP.

What driver is on the AS400 a SNMP
This is the IBMSNMP driver.

If a customer wants to do a drawer
selection then this is possible through modifying a WSCST object.
On the
following links is described how to edit a WSCST object :

Use http://www-912.ibm.com/  and then the search engine for these phrases
Instructions for Modifying a Workstation Customizing Object (WSCST)
Finding the Source Code for a Modified Workstation Customizing Object (WSCST)

The drawer selection in the HP WSCST file.

Look for the DWRSLT tags,


DATA =' xxxxxxxxxxx 'X.
DATA =' xxxxxxxxxxx 'X.
DATA =' xxxxxxxxxxx 'X.
DATA =' xxxxxxxxxxx 'X.

Fill in the hex codes as needed

Home          Back to IBM

If you find an error or wish to comment please let me know.