Posts Tagged ‘Scriptomatic’
[Scriptomatic] How to Purge the Print Queue
June 1, 2010
Leave a comment
Some times we need to cancel all the documents in the printer queue..
Create the following batch file and run..
@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul
Categories: Scriptomatic