schalkburger

    • About
    • Services
    • Portfolio
    • Blog
    • Contact

Cancel a print job

Posted on 21 November, 2012 in Code, Tutorial
Internet-Fix
Share

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.

  • 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?

  • Latest Posts

    • Download YouTube video with VLC
    • Windows Snipping Tool
    • How to open Microsoft office protected documents
    • Normalize video audio
    • Temporarily disable Windows Update nag
  • Popular Posts

    • Interesting Wikipedia articles
    • Online stores with free international shipping
    • The big list of infographics
    • The big list of cheat sheets
    • Exploring the deep web
  • Categories

    • Code
    • Computers
    • Downloads
    • Gaming
    • General
    • Philosophy
    • Productivity
    • Programming
    • Projects
    • Software
    • Tutorial
  • Search

© 2013 Schalk Burger Web Designer & Developer