Cancel a print job

The printer, the bane of most computer users experience.

Whether it is because of paper jams or expensive ink, printers are bound to give you problems now and again.

If you run into the problem of your printer not cancelling a print job then you can use this batch file I put together for every time it happens.

A bat or batch file is is a text file containing a series of commands intended to be executed by the command interpreter, in the Windows environment this is usually COMMAND.COM or cmd.exe

Simply open up Notepad, paste the text below into it and save it as cancelprint.bat.

net stop spooler
del %systemroot%\system32\spool\printers*.shd
del %systemroot%\system32\spool\printers*.spl
net start spooler
Save as a .cmd file. Works every time.

There’s one less headache out of the way.

Comment

  • http://schalkburger.za.net/ Schalk Burger

    Hi Kari! Yes this works 100% in Windows. You just double click the .BAT file to cancel the print job.

  • http://twitter.com/LifetimeKari Kari Roberts

    Would this work with windows 7? And how do you run it – just doubleclick when you want to cancel a print?