Saturday, June 8, 2013

Remove documents on printing queue on Windows

print

The main problems users face when printing are basically the you shouldn’t have in the first place: can’t delete documents, documents that won’t print, errors that magically appear… it’s annoying. Most people tend to install software, or pay for technical support that is completely unnecessary.

To those users, here’s a simple fix for that in a form of a batch file. Open the notepad and type the following

net stop spooler
del /q "C:\Windows\System32\spool\PRINTERS\*.*"
net start spooler

C:\ being where your Windows is installed. Now save it as you want, but make sure you select All files and add the .bat extension.

spooler

What the .bat file does is stop the service “Spooler”, which is the one that manages the documents on queue, then delete the documents (these are locked by the service and can’t be deleted while the service is running), and finally restart the Spooler service so you can print again.

Just double click the file whenever you have stuck documents and it will fix automatically.

No comments:

Post a Comment