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.