Updated September 27 2006

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.
 
 

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
7.  AS/400 printing explained.  A work in progress
8.  I need to capture IPDS print data
9.  Some newer AS/400 notes


 

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
Hi,

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)
Question:
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.
Answer:
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,
*IPX...
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,
*IMGA01...
Internet address . . . . . . . .   '10.48.33.20    '
VM/MVS class . . . . . . . . . .   *SAME         *SAME, A, B, C, D, E,
F,G...
Forms Control Buffer . . . . . .   *SAME         Character value, SAME,
*NONE...
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,
*FILE...
User driver program  . . . . . .   *NONE         Name, *SAME, *NONE
Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
Spooled file ASP . . . . . . . .   *SYSTEM       *SAME, *SYSTEM,
*OUTQASP
Text 'description' . . . . . . .   'IKON Printer Copier'
Additional Parameters
Display any file . . . . . . . .   *NO           *SAME, *NO, *YES,
*OWNER
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
I-O corp has several products that supportIPDS, SCS, and AFP printing that gives full functionality to many Canon printers

 
Product
Web site
Comments
i-Data HostCom external interfaces
http://www.i-data.com/
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
http://www.iocorp.com/
Connectivity Solutions
for IBM AS/400 and 3270 System Needs
Axis host to Lan print servers
http://www.axis.com/
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
driver?
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,

:DWRSLT

DRAWER=PAPER
DATA =' xxxxxxxxxxx 'X.
:DWRSLT
DRAWER=ENVELOPE
DATA =' xxxxxxxxxxx 'X.
:DWRSLT
DRAWER=DRAWER1
DATA =' xxxxxxxxxxx 'X.
:DWRSLT
DRAWER=DRAWER2
DATA =' xxxxxxxxxxx 'X.

Fill in the hex codes as needed


7.  AS/400 printing explained.  A work in progress
Here's some notes I wrote up on my first AS/400 field experience:

The AS/400 can output printer code using the following methods
IDPS (Intelligent Printer Data Stream)
Host Print Transform (HPT)
IPDS is a native AS/400 print data stream that requires little overhead
HPT is a feature of the AS/400 printing subsystem where the AS/400 host handles all data conversion and sends all the native commands to the printer. 
With HPT, a Manufacturer type and model must be chosen.  HP4 and HP5SI work with the Canon iR devices.
When choosing the HP Manufacturer type, the System driver program must also be considered
By default, the HP System driver program type is HPPJLDRV which prints with port 515 (LPD)
The IBMSNMPDRV System driver program prints with Port 9100 (Raw)
With multiple print jobs, Port 9100 offers a much more efficient method of printing compared to the larger overhead with Port 515


8.  I need to capture IPDS print data
If you have a I-O box, you may be lucky to have the feature called Data Capture
Make sure the I-O and iR are configured properly to print from an AS/400
Then, run the I-O configuration utility
Highlight the device you want to capture from, select Options, Data Capture, Choose the correct port if necessary, Make a new empty file, Browse for this new file and choose start
Now, when you print a job through the I-O box, the I-O will send print data to the printer while simultaneously dump IPDS code to your file.

I havent tried this myself, but here is some information on doing a Communication Trace on the AS/400
Click here and search for these knowledge base numbers
29115709 - Communications trace for TCP/IP Printers using the STRCMNTRC command
24001353 - Communications trace for TCP/IP Printers using the STRSST command.   Applies to V5R1M0 (R510) and Above


9.  Some newer AS/400 notes
On Jan 2005 we finally scored an AS/400, woohoo.
I've had some really rough training and spent some time with the box.
I hope to get more time later
For now, I've got PDF's of my notes on serveral topics including
Port 9100 printing, recalling and printer a printer description file and changing duplex/copy settings
You can get them here



Home          Back to IBM

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