OK. I can get my app to install a printer onto a remote NT Workstation IF I already know the port name of the printer.

I have a list of all the IP addresses of all the printers on our network.

How can I get the Port name of the printer from the IP Address.
There must be a way because the Add Printer wizard resolves the Port name from the IP Address (well, on out network here in any case).

All help or suggestions graciously received folks.