Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kas
Engaged Sweeper II
Hello -

I was wondering if this was already a feature or not, but here goes.

Is it possible to view what networked printers are installed on a PC.

Thanks!
7 REPLIES 7
Hemoco
Lansweeper Alumni
@Dgoodwin : this information is already captured in table tblprinters.
DGoodwin
Engaged Sweeper
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.
Hemoco
Lansweeper Alumni
This feature is not on our list for the next version.
citobnl
Engaged Sweeper
Any idea when we could expect this feature in lansweeper??
76012
Engaged Sweeper II
I see my network printers under Configuration Browser | Hardware | Printer....

They look like this:
\\SWPE\J6104B ipp://swiprinte.swmed.edu/ipp/J6104B
kas
Engaged Sweeper II
Well,

That answers that question.

Thanks for the reply!
Hemoco
Lansweeper Alumni
WMI doesn't report this feature, that's why it's not implemented