I have an AS/400 Model 9406-820 with OS/400 V4R5 that is sitting on a LAN through TCP/IP. I also have the following...
printers on the LAN: Epson DFX 8500 and Epson DFX 5000+. How can I configure the LAN printers on the AS/400, or how can I create the LAN printers on the AS/400?
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('18.104.22.168') 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)
Dig Deeper on Connecting to Printers
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.