You can refer to: How to list all printers on network computer
Add network printer command under win7 system
Afon.zhang
396
Reputation points
In the win7 control panel, devices and printers, click the Add Printer button
Click to add a network, wireless or Bluetooth printer, and then a list of selected printers will appear. Excuse me: Can this list be obtained by command line?
If there is a printer in the list, after clicking Next, a window for downloading the driver will appear. May I ask: What is the command for downloading the driver?
There is another option that the printer I need is not in the list. After clicking this option, a window appears. May I ask: What is the command to select a shared printer by name?
Windows development | Windows API - Win32
2,783 questions