question

Afonzhang-1766 avatar image
0 Votes"
Afonzhang-1766 asked Afonzhang-1766 commented

Add network printer command under win7 system

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-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SongZhu-MSFT avatar image
0 Votes"
SongZhu-MSFT answered Afonzhang-1766 commented
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ok, thanks. i"m try.

0 Votes 0 ·

I have tried it and it doesn't work。

What I want to get is the computer on the network, and then the printer shared under the computer. The URL you sent can only get the list of printers installed under the local computer. I have implemented the function of getting the local printer list

Thanks

0 Votes 0 ·

I think this answer will help you.

0 Votes 0 ·

Yes, I plan to investigate and get the names of all computers in the domain first, and then find the shared printers in the corresponding computers according to the computer names

0 Votes 0 ·