Dim objWMIService, colInstalledPrinters, strComputer$
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colInstalledPrinters = objWMIService.ExecQuery ("Select * from Win32_Printer")
ForAll objPrinter In colInstalledPrinters
Print objPrinter.name
End ForAll