DocOut
Overview Data sheet Case story Manuals Support Try DocOut Partners Contact

DocOut

How to add a printer to AS/400 (TCP/IP)

CRTDEVPRT - Create a printer device description

Keyword / Prompt
Value
DEVD
Device Description
The device description. E.g. PRT123
DEVCLS
Device Class
*LAN
TYPE
Device Type
*IPDS
MODEL
Device Model
0
LANATTACH
LAN Attachment
*IP
AFP
Advanced Function Presentation
*YES
AFPATTACH
AFP Attachment
*WSC
PORT
Port Number
Must match the TCP/IP Port Number. Ports 5001-5002 are traditionally assigned to IPDS transform.
FONT
Font Identifier
11
FORMFEED
Form Feed
*AUTOCUT
RMTLOCNAME
Remote Location Name
Must match the IP Address. E.g. 192.194.134.90

PING - Verify communication to printer


PING RMTSYS('192.194.134.90')

VRYCFG - Vary printer on


VRYCFG CFGOBJ(PRT123) CFGTYPE(*DEV) STATUS(*ON)

STRPRTWTR - Start the print writer


STRPRTWTR DEV(PRT123) AUTOEND(*YES)