Do you want to get a list of all your network printers and send them to a file? All you need to know is the name...
(NetBIOSname or hostname) of the server sharing the printers and then type at the command prompt:
net view printservername | find /i "print">printers.txt
Replace "printservername" for a valid computername. In the example above the output goes to a file called "printers.txt".
If you have more than one server sharing printers and you want the output in the same file, then use the ">>" symbol to append to the file. For example:
net view myserver | find /i "print" >>printers.txt
net view computername | find /i "print" >printers.txt
How printers can be a network security risk and what to do about it
What do to when the print spooler crashes
Allow WLAN users to access network printers on the LAN
Find out what Group Policy controls are available for printers