my dog learned polymorphism
The moose likes Java in General and the fly likes Need to get IP Address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need to get IP Address" Watch "Need to get IP Address" New topic

Need to get IP Address

john sal
Ranch Hand

Joined: Jul 30, 2010
Posts: 93
I am using the PrintService class to get the details of the currently attached printer now I have a requirement to get the IP of the attached printer.

I am able to get the names of all the attached printer but not able to get the IP.

Can someone let me know how can i get the IP of the printer?
I agree. Here's the link:
subject: Need to get IP Address
It's not a secret anymore!