Please enable JavaScript to view this site.
Create the device description for the remote printer using the CRTDEVPRT command. Create an output queue of the same name, vary on the printer device and use the STRPRTWTR command to start the remote printer.
CREATE DEVICE DESC (PRINTER) (CRTDEVPRT)
DEVICE DESCRIPTION . . . . . . . DEVD > HP4DEV
DEVICE CLASS . . . . . . . . . . DEVCLS > *LAN
DEVICE TYPE . . . . . . . . . . TYPE > 3812
DEVICE MODEL . . . . . . . . . . MODEL > 1
LAN ATTACHMENT . . . . . . . . . LANATTACH > *IP
PORT NUMBER . . . . . . . . . . PORT > 9100
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 . . . . . . . . . MSGQ QSYSOPR
LIBRARY . . . . . . . . . . . *LIBL
ACTIVATION TIMER . . . . . . . . ACTTMR 1000
INACTIVITY TIMER . . . . . . . . INACTTMR > *SEC15
TYPE OF PARITY . . . . . . . . . PARITY > *NONE
STOP BITS . . . . . . . . . . . STOPBITS > 1
HOST PRINT TRANSFORM . . . . . . TRANSFORM > *YES
MANUFACTURER TYPE AND MODEL . . MFRTYPMDL > *HP4 (or listed printer F4)
PAPER SOURCE 1 . . . . . . . . . PPRSRC1 > *A4
PAPER SOURCE 2 . . . . . . . . . PPRSRC2 > *A4
ENVELOPE SOURCE . . . . . . . . ENVELOPE *MFRTYPMDL
ASCII CODE PAGE 899 SUPPORT . . ASCII899 *NO
CHARACTER IDENTIFIER: CHRID
GRAPHIC CHARACTER SET . . . . *SYSVAL
CODE PAGE . . . . . . . . . .
REMOTE LOCATION: RMTLOCNAME
NAME OR ADDRESS . . . . . . . >'111.222.333.444'
WORKSTATION CUSTOMIZING OBJECT WSCST > *NONE
LIBRARY . . . . . . . . . . . >
USER-DEFINED OPTIONS . . . . . . USRDFNOPT *NONE
+ for more values
USER-DEFINED OBJECT: USRDFNOBJ
OBJECT . . . . . . . . . . . . *NONE
LIBRARY . . . . . . . . . .
OBJECT TYPE . . . . . . . . .
DATA TRANSFORM PROGRAM . . . . . USRDTATFM *NONE
LIBRARY . . . . . . . . . . .
SYSTEM DRIVER PROGRAM . . . . . SYSDRVPGM > *HPPJLDRV or *IBMPLJDRV
TEXT 'DESCRIPTION' . . . . . . . TEXT > 'Cobwebb/PPD printer device'