How to cancel a print job in Vista or XP
Apr 24th, 2009 by Leendert
For some reason my print jobs often get stuck in the queue in Microsoft Windows Vista and or XP. Cancelling or restarting the job often does not work then.
A found a post in a forum by a guy called Bill who created a batch file to force the cancellation of print jobs in the queue.
- Open notepad or some other text editor
- Copy and paste the following lines in the text editor:
@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 > nu - Save the text as cancelprintjobs.bat
- Execute the batch file. In Vista make sure to run it as administrator
THIS IS A MIRICLE PROGRAM NOTHING ELSE WORKED FOR MY VISTA MACHINE