Clearing Windows 7 Print Spool

Windows 7 and my inkjet printer don’t always get along. When they start giving each other the silent “treatment”, I’m occasionally forced to restart my computer so I can print documents.

I cobbled this batch file together from various sources online. It works about half the time.

@echo off
echo Stopping print spooler.
echo.
net stop spooler
echo Erasing Temporary Junk Printer Documents
echo.
del /Q /F /S %systemroot%\System32\Spool\Printers\*.*
echo Starting print spooler.
echo.
net start spooler

If you’ve never made a batch file, copy the code above into a plain text editor and save the file to your Windows folder with the extension .bat

To use, call the file from the Run… command in the Windows menu.

Tags: , , , ,

Leave a Reply

Note: If you send me a comment & it doesn't appear right away, fear not! My website may have held it for moderation. Don't worry it'll show up the same day :)