What to do when print jobs won't cancel

By · January 31, 2008 · 0 comments

[This post has nothing to do with ASP but contains valuable information for Windows users.]

Have you ever had one of those print jobs that you cannot cancel. You try cancelling it, switching off the printer, restarting the computer, and it still wants to print?

The following commands should solve the problem once and for all. They stop the print spooler, delete any print jobs, then restart the print spooler service.

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler
You can download the commands in a handy batch file that you can simply double-click on to cancel all current print jobs at any time.

DeletePrintJobs.zip
Read more...
Windows XP

Get the latest posts delivered to your inbox.

Comments

There are no comments yet. Be the first to leave a comment!

Leave a Comment

All comments are moderated and rel="nofollow" is in use. Avatars are sourced from gravatar.com – a globally recognised avatar.

Type the numbers from the picture above

About me
John Avis ...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.

profile for John at Stack Overflow, Q&A for professional and enthusiast programmers
Subscribe

Get the latest posts delivered to your inbox. *