If one experiences printing problems such as:
- Unable to print
- Unable to delete print queue jobs
- Other various Print Spooler errors
Then the below script should fix the majority of the issues related to either the spooler service or spooler files:
@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
Simply save the script above in a Notepad document changing the extension to either .BAT or .CMD and running it.
What it does is that it stops the Spooler service, deletes all of the jobs in the queue (if any) and then re-starts the Spooler service again!