So, will this not work? It could also be pulled from the registry. HKCU,Printers,Connections,<Printer>
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM Win32_Printer",,48)
For Each objItem in colItems
Wscript.Echo "-----------------------------------"
Wscript.Echo "Win32_Printer instance"
Wscript.Echo "-----------------------------------"
Wscript.Echo "Name: " & objItem.Name
Next
and i get
MaxNumberUp:
MaxSizeSupported:
MimeTypesSupported:
Name: \\server2\PRN-HP4K5-04
NaturalLanguagesSupported:
Network: True
PaperSizesSupported: 7,8,1,22,23,
if not, no biggie, just my thoughts.