Clearing Print Queue in Windows

It has happened with me a number of times that documents got stuck in my print queue like super-glue[1]!

Perhaps it was the wrong document or maybe the wrong printer chosen. In any case, going to printer options and cancelling/deleting the print would result in all but the last document being stuck at “deleting…” state in the printer queue. Nothing would remove that last document from the list of print jobs. And you know that until that small little document is not cleared off the list no other work can be done without getting distracted!

In case this was happening on my laptop, I would safely restart my computer and things would get back to normal (a very generic fix to many Microsoft Windows related issues). However, last day when it happened on our production server (Windows 2003), I had no options but to search for restart alternatives.

A brief search led me to sites[2] that recommended to restart the print spooler service[3]. Quite an obvious solution!

Update: Subsequent to this issue, I have developed Print Service Manager — a software to easily clear print queues.

Simple commands to restart print spooler service:

Open up a command prompt (Start -> Run -> type “cmd” -> Ok) and key in the net stop… and nest start… commands one after the other. This should do the trick in most systems without requiring a restart. I have even written a simple batch file that will do the same in one click.

Computer Download Restart Print Spooler Batch (version 1.1.0, 238 bytes, 3503 dowloads)

Download this file and store it in an accessible place. Whenever deleting print queue fails, simply run this batch file. It will take less than 30 seconds to restart the print spooler service and would subsequently clear the print queue.

This batch file works on Windows 2003, Windows XP, Windows Vista and Windows 7. Note that for Windows Vista and above, you need to run thus batch file as an administrator.

In case, restarting the spooler service does not clear the queue, try deleting the file again after restarting the spooler service. If all fails… hail ‘restart!’

Footnotes:

  1. http://en.wikipedia.org/wiki/Cyanoacrylate [top]
  2. http://www.computer-2tr.com/tips/05/20050815.html [top]
  3. In computer science, spooling refers to a process of transferring data by placing it in a temporary working area where another program may access. It is also a program that queues print files for one or more printers and sends them to the printer one at a time. [top]
  • http://chaoticaftertaste.wordpress.com/ Dhruva

    Clearly, the spooling service is not handled very deftly. One would imagine that this would be fixed by the time Vista was perfected, because the issue has been around for a while, now.

    I wonder how the queueing service is handled, because the solution, in theory, seems simple enough.

    • http://www.shamasis.net/ Shamasis Bhattacharya

      Yes! This is exactly what I was wondering when I had my first print document getting stuck in Windows Vista! Damn… Microsoft did not learn after making the umpteenth mistake.

      You know, that makes me wonder at times that there is an inherent organizational flaw in MS for which such issues linger on. Perhaps, as the organization grew, it did not modify its policies to suit the changing needs. :(

      In any case, I am making a software to clear print queue in Windows with one click and after you finish beta testing, it will help a lot of people.

  • http://www.shamasis.net/ Shamasis Bhattacharya

    Can’t believe I did complete creating the application… and that too in three hours! Check out: http://www.shamasis.net/2009/05/print-service-manager/

    The software in the above link will surely come in handy when you need most.

  • Jaccsun

    Restart Print Spooler worked!!!!!! My printer queue has been blocked for ages. Thank you, you amazing talented people. What would we do without you?

    • http://www.shamasis.net/ Shamasis Bhattacharya

      Well… beauty is nothing without beholders. It is people like you who take time to stop, turn back and put forward a simple sentence in a little textbox called “comment” and make the day for someone. :)

  • Anonymous

    I have used this steps. It’s worked very well. So i can easily clear print queue in windows 7. So thanks for sharing this.

    123inkjets coupon code

  • Anonymous

    These steps help me  clear print queue in windows 7 easily,they area really useful for me.

  • Pingback: Print Service Manager 1.0.0 | freeware software

  • http://www.shamasis.net Shamasis Bhattacharya

    Hey, did not get time to specifically create a portable app, so I extracted the executable file and here it is: http://bit.ly/lQHkbR