To setup a network printer you will need the IP address.
On the command line: CRTDEVPRT <F4> See sample below…
Device Description = Name of Printer
Device Class = *LAN
Device Type = *IPDS
Device Model = 0
Lan Attachment = *IP
Advanced Function Printing = *YES
Port Number = 5001
Online at IPL = *YES
Font Identifier = 011
Form Feed = *AUTOCUT
Message Queue = PRTMSGQ
Activation Timer = *NOMAX
Remote Location = IP address of Printer
Also, if you are setting up a printer without an IP address (e.g., one attached to a Windows PC), you can follow the instructions here to set up a iSeries Access printer session and make that printer available to the AS400:
Personally, I have all of my printer sessions on the same Windows 2000 Server that acts as our print server for the domain. That way it is all nice and together in one place.
This method will apply if the printer is host-based, meaning that it can not directly communicate in a standard printer language with the ‘400. In this case, the printer requires direct connection to a Windows PC and communicates in some proprietary language with the driver there.
I keep IBM’s site bookmarked so I can see if a particular printer can be configured directly on the ‘400 or if it requires a Windows host. Check it out:
Even if the printer is not host-based, you will get the manufacturer type and model info from this site that you can use to correctly configure a non-host-based printer on the ‘400.