This By Request Vbs script will cancel all of the active print jobs on the computer from which the script is executed on.
VBS Script:
strComputer = "LocalHost"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Printer")
For Each objItem in colItems
objItem.CancelAllJobs
Next
MsgBox "Done"
No Comments