Posts Tagged ‘batch files’
This batch file will quickly cancel print queue so that you can now continue with printing more jobs.
Flush printing job queue (Batch file)
The content of the batch file is as follows
@echo off echo Stopping print spooler. echo. net stop spooler echo deleting stuff... where? I'm not sure. Just deleting stuff. echo. del %systemroot%\system32\spool\printers\*.shd del %systemroot%\system32\spool\printers\*.spl echo Starting print spooler. echo. net start spooler
Now whenever you need to instantly cancel print queue, just double click on the batch file and it will delete the pending jobs. A very good piece of advice by Pallav is to be careful while using this batch file in a work environment as if you are on a print server, it would cancel printing jobs of all connected printers.
Thanks to Pallab for bringing my attention and to Lifehacker for the code.
You can also make a custom command which you can type in Run (Win + R) to execute the batch file. Read Creating Custom Run Commands





Howdy! My name is Ashish K Saini aka Ashfame.
