How to check IP address of a printer in AS/400?

20 pts.
Tags:
AS/400
IP address
How to check IP address of a local and remote printer in AS/400? Are there any specific commands available to check?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

For local/remote network print devices use WRKDEVD and page down a few pages. Virtual print devices are tougher depending on how they are set up especially if using Client Access.. 

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • azohawk

    For remote printers:  work with outq description (wrkoutqd)

    For printer devices: work with device description (wrkdevd)

    These handle most (but not all) printers.  You may have to page down a couple of times.

    4,055 pointsBadges:
    report
  • pdraebel
    For IP attached devices I tend to make entries in the AS400 Host table. CFGTCP option 10.
    One can also use the PING command on iSeries.
    7,545 pointsBadges:
    report
  • TheRealRaven
    Ideally, you should use a DNS query to what address is resolved to when you supply the printer(host) name. E.g., run a [ping printername ] command and the address that's return.

    If you're hard-coding addresses in your device or *OUTQ descriptions, you might be just asking for trouble... especially when addresses change for any reason. That's a major reason for DNS to begin with.
    36,145 pointsBadges:
    report
  • pdraebel
    The DNS way, using the iSeries TCP Host table is definately the way to go to avoid trouble. At our shop DNS names were not used and embedded in descriptions. The easiest way to find out was to list all printer and outq descriptions and scan the spooled file for "*INTNETADR". That indicates where the IP address is tucked away in the description.
    7,545 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: