Why does it always seem like when we need to print something urgently, the printer seems to have bugs, and when you’re printing something totally unnecessary and just for fun, it works seamlessly?
So, the next time you’re looking to print something that was due ‘yesterday’, keep in mind this groovy script to assist in cleaning up your print queue.
This script clears the Windows print queue for all printers, and also restarts the print spooler service.
In case you need a little refresher on what the print spooler is, it’s a software built into the Windows OS that temporarily stores print jobs in the computer’s memory until the printer is officially ready to finally print them.
In any case, here’s the script to help you wait less time in the proverbial printer queue, and more time on literally anything else.
net stop spooler del %windir%\system32\spool\printers\*.shd del %windir%\system32\spool\printers\*.spl net start spooler
How to fix a stuck print job?
A stuck print job can occur for different reasons, one of which being a problematic print queue. With this script, you can easily resolve these stuck print jobs and start printing everything you need in no time!
How to clear Windows print queue programmatically or with a script?
Clearing a Windows print queue with a script is easy! Just use this script we have neatly organized for you right here.
How to fix Windows printing issues?
While we can’t promise to fix every possible printing issue, we can definitely help you clean up your print queues easily. Try out this script, and see if it resolves your Windows printing issues.
1. This script will clear all print queue jobs, and as a result, may clear pending print jobs users are expecting or waiting on. Users will need to reprint anything that didn’t successfully complete.
2. The print spooler is an executable file that manages the printing process.
Explore our shared script library
The all-in-one IT management platform that will take your IT operations to the next level!