I want user to just past the name of the printer and then api to reolve the name and get IP adress. How do I do that.I am trying getHostByname but its not working.