|

How to set up IPDS printer on HP Jetdirect port 9100. For AS/400 ver. 3.1
Device description and WRKAFP2 configuration, for IPDS DIMM and JetDirect card
Requirements:
Before IPDS printing using TCP/IP can be accomplished, the following points
need to be checked:
- TCP/IP is installed and enabled
- The relevant PTFs are applied
- The WRKAFP2 command is compiled (for AS/400 3.1 and 3.6 only)
Details on how to verify these items can be found on the Internet.
Consult the following IBM web address for details:
http://as400service.rochester.ibm.com
In the Technical Information database, you find the following links:
This link directs you to the area of the Knowledge Base, which is specifically about Print.
IBM Doc. No. 8414724, PTF Listing for AFP Printing is a good entry.
- Preventive Service Planning (PSP)
This link directs you to the area of the Knowledge Base about Cumulative PTF Package for all OS/400 versions.
IBM Doc. No. 8203740, PTF Listing for TCP/LAN Printing is a good entry.
HP settings:
Default IPDS port in JetDirect card is: 9100. Set the IP, Subnet Mask, and Gateway address on the JetDirect card.
The printers PS wait time-out shall be set to 300 sec.
The JetDirect card's IDLE TIMEOUT shall be set to 3600 sec or 0 (zero). Refer to our FAQ for a description of the consequences. Remember to power cycle printer to enable new settings.
AS/400 settings:
To configure IPDS printing on AS/400 V3R1, you must use the following two commands:
Configuring PSF with CRTDEVPRT on V3R1
On V3R1, at the AS/400 command line, enter a command in the form:
CRTDEVPRT DEVD(HP_IPDS) DEVCLS(*RMT) TYPE(*IPDS) MODEL(0) AFP(*YES) AFPATTACH(*APPC) FONT(11)
RMTLOCNAME(TCPIP) FORMFEED(*AUTOCUT) TEXT('IDATA IPDS DIMM')
A completed screen looks like the following example:
Display Device Description Page 1
5763SS1 V3R1M0 940909 BLDSYS1 09/11/96 11:15:40
Device description . . . . . . . : DEVD HP_IPDS
Option . . . . . . . . . . . . . : OPTION *ALL
Category of device . . . . . . . : *PRT
Automatically created . . . . . .: NO
Device class . . . . . . . . . . : DEVCLS *RMT
Device type . . . . . . . . . . .: TYPE *IPDS
Device model . . . . . . . . . . : MODEL 0
Advanced function printing . . . : AFP *YES
AFP attachment . . . . . . . . . : AFPATTACH *APPC
Online at IPL . . . . . . . . . .: ONLINE *YES
Font . . . . . . . . . . . . . . : FONT
Identifier . . . . . . . . . . . : 011
Point size . . . . . . . . . . . : *NONE
Form feed . . . . . . . . . . . .: FORMFEED *AUTOCUT
Separator drawer . . . . . . . . : SEPDRAWER *FILE
Separator program . . . . . . . .: SEPPGM *NONE
Library . . . . . . . . . . . . .:
Printer error message . . . . . .: PRTERRMSG *INQ
Message queue (V3R1) . . . . . . : MSGQ QSYSOPR
Shadowing message queue (V3R6) . : MSGQ QSYSOPR
Library . . . . . . . . . . . . .: *LIBL
Maximum pending requests . . . . : MAXPNDRQS6
Print while converting . . . . . : PRTCVT *YES
Print request timer . . . . . . .: PRTRQSTMR *NOMAX
Form definition . . . . . . . . .: FORMDF F1C10110
Library . . . . . . . . . . . . .: *LIBL
Character identifier . . . . . . : CHRID *SYSVAL
Remote location . . . . . . . . .: RMTLOCNAME TCPIP
Local location . . . . . . . . . : LCLLOCNAME *NETATR
Remote network identifier . . . .: RMTNETID *NETATR
Mode . . . . . . . . . . . . . . : MODE QSPWTR
Text . . . . . . . . . . . . . . : TEXT IDATA IPDS DIMM
Configuring AFP with WRKAFP2 on V3R1:
On V3R1, at the AS/400 command line, enter a command in the form:
WRKAFP2 DEVD(HP_IPDS) IPDSPASTHR(*YES) TCPIP(*YES) RMTSYS('128.9.12.134') PORT(9100) INACTTMR(*SEC15)
A printout should look like the following:
QPQXWAFP
--------
DEVD HP_IPDS
IPDSPASTHR*YES
TCPIP*YES
RMTSYS192.194.134.90
PORT 9100
ACTTMR NOMAX
INACTTMR*SEC15
SBP*NO
PSC*YES
DRF*NO
DRR*NO
EDGSNSTV*NO
Then do the following:
Ping the IP address to verify communication with the printer:
PING ’192.194.134.90’
Vary the printer on:
VRYCFG HP_IPDS CFGTYPE(*DEV) STATUS(*ON)
Start the print writer:
STRPRTWTR HP_IPDS
|