Q

Using the iSeries eServer V4R4M0 on a TCP/IP network

We are using the iSeries eServer V4R4M0 on a TCP/IP network. I want to send a spool file on line printer. I have LPD server on the iSeries side, but facing error "Remote host system rejected the open attempt." Can you provide all the requirements for both sides on iSeries and NT server to get this problem resolved?

I am assuming you are trying to do the following:

Create a REMOTE *OUTQ on the AS/400 that sends print to a network attached line printer.

With that assumption.... Here is how the process should work:

The REMOTE *OUTQ on the AS/400 sends print via LPD to a printer that has to be running LPR in order to receive it.

The message you are encountering indicates to me that the LPR process on the line printer isn't configured correctly. Recheck that configuration and try again. I wish I could be more specific, but the LPR configuration details can be quite different for different printer devices and servers.

Also make sure you used the correct "Manufacturer type and model (MFRTYPMDL)" parameter on the CRTOUTQ command, when you created the REMOTE *OUTQ.

Here is an example of how I setup a REMOTE *OUTQ to connect to one of our network attached HP4 printers:

 
        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(*HP4)
                WSCST(*NONE)             
                IMGCFG(*NONE)                              
                INTNETADR('198.5.59.69')
                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(*DTAAUT)
                AUT(*USE)             

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.

Search400's targeted search engine: Get relevant information on V5R1.

This was first published in July 2002

Dig deeper on TCP-IP

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close