Q
Problem solve Get help with specific problems with your technologies, process and projects.

Tips for printing from the iSeries to network printers

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('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 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.

 

Dig Deeper on Connecting to Printers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close