Hi,
in client side computer using script how to check printer stop or ready when printer stop then notification alert me.it's possible ?
thanks advance all.
Printer status check using script
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Dec 16, 2009, 3:13 AM EST
you have to use Active X Control.that require permission from user to run it .like antivirus companies do online scan of our files from websites .
Lalit MRank #1,186 · 1.5K reputationPosted Dec 16, 2009, 7:18 PM EST
try below code.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colInstalledPrinters = objWMIService.ExecQuery _
("Select * from Win32_Printer Where PrinterStatus = '1' " _
& "or PrinterStatus = '2'")
If colInstalledPrinters.Count = 0 Then
Wscript.Echo "All printers are functioning correctly."
Else
For Each objPrinter in colInstalledPrinters
Wscript.Echo "Printer " & objprinter.Name & " is not responding."
Next
End If