What to do when print jobs won't cancel

John Avis by | January 31, 2008 | Windows XP

[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

Comments

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

Leave a Comment
Tags
ASP.NET Html Forms ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages Bootstrap C# Classic ASP Cool Websites Databases eBay and PayPal Electrical Repairs General Hardware HTML/CSS Jquery/Javascript Media Center Mobile Phones Responsive Web Design SEO and Social Networking Web Design Web Development Web Security web+db Website Hosting Windows XP

About me

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

Subscribe

Get the latest posts delivered to your inbox.