Hi,
I need to add a TCP/IP printer programmatically.
I have done the following steps and struck somewhere in the middle,
1. Using the API "OpenPrinter" and with arguments ",XcvMonitor
Standard TCP/IP Port" I have obtained a printer handle.
2. Using the API "XcvData" I have filled the PORT_DATA_1 structure
with the necessary arguments. And a TCP/IP port gets created, which
can be viewed in the "Control Panel -> Printers" and right-click and
viewing the "Ports" tab.
I'm unable to proceed after this. I couldn't find any related
documentation also in this respect.
Any help in this regard would be highly appreciated.
Thanks,
Mike