Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Local printer management --Spooler Issues--

$
0
0

Trouble: of the 3 production printers on a local machine 1 to many of the printers may have a Job get stuck in printing for some unknown issue. Clicking cancel job / Delete fails to remove the Job from the List. At this point i am forced to Kill the Print Spooler and restart it.

Want to have From Wscript.Shell or VBS: for each printer with a Que Count >1 Find the First JobId with a bad status delete this and Copy the remainder of the PrintQue content to a Local "Temp" location use a CancelAllJobs() method, then Replace all the Content back into the printer Spooler for re-issue.

Thoughts?

Thanks


Viewing all articles
Browse latest Browse all 15028

Trending Articles