EXPERT RESPONSE
You can print directly from the AS/400 to an network-attached printer by
creating a remote output queue.
You will notice that I've specified DESTOPT(XAIX) in the example below. This
will allow users to specify and print multiple copies of a spool file using
the TCP/IP LPD/LPR interface.
To get things configured, you will need to supply an output queue name, a
valid internet address and some meaningful text.
After the *OUTQ is created it will automatically start each time the QSPL
subsystem is started. You can stop printing to the printer with the ENDWTR
command and then restart printing with the STRRMTWTR command.
A remote output queue is created with the following command:
CRTOUTQ OUTQ(OUTQLIB/OUTQNAME)
MAXPAGES(*NONE)
SEQ(*FIFO)
RMTSYS(*INTNETADR)
RMTPRTQ(PASSTHRU)
AUTOSTRWTR(1)
MSGQ(QSYSOPR)
CNNTYPE(*IP)
DESTTYPE(*OTHER)
TRANSFORM(*YES)
USRDTATFM(*NONE)
MFRTYPMDL(*EPFX5000)
WSCST(*NONE)
IMGCFG(*NONE)
INTNETADR('111.111.111.111')
CLASS(A)
FCB(*NONE)
DESTOPT(XAIX)
SEPPAGE(*NO)
USRDFNOPT(*NONE)
USRDFNOBJ(*NONE)
USRDRVPGM(*NONE)
SPLFASP(*SYSTEM)
TEXT('Specify a meaningful Description')
DSPDTA(*YES)
JOBSEP(0)
OPRCTL(*YES)
DTAQ(*NONE)
AUTCHK(*OWNER)
AUT(*USE)
==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
|