What to do when print jobs won't cancel

johna by | January 31, 2008 | Windows XP Computers & Internet

[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

Related Posts

Computers & Internet Retro Computing

What to do with an old laptop

by johna | August 19, 2022
Can old computers still be useful?

Retro Computing Computers & Internet

Repairing Commodore and Amiga computers in the 1990s

by johna | August 5, 2022
My experiences working in a Commodore repair centre in the 1990s and some of the common problems we used to deal with.

Computers & Internet Web Development Website Hosting

500 Internal Server Error after migrating from IIS 7.5 to IIS 10

by johna | November 4, 2019
As support ends for Microsoft Windows Server 2008 I have recently gone through migrating some websites to a new server running Windows Server 2016 and IIS 10 but some of the websites did not work.

Comments

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

Leave a Comment

About

...random postings about web development and programming, Internet, computers and electronics topics.

I recommend ASPnix for web hosting and Crazy Domains for domain registration.

Subscribe

Get the latest posts delivered to your inbox.