Script to flush print queue
Discussion
I'm using an engraving machine to make coffin and casket plates at work. The workshop computer is running Win 10 Pro and not connected to the Internet, it is just to run the engraving software and drive the engraver. (Vectric Cut2d, and a Roland EGX-20)
Occasionally the software will output two jobs to the engraver, meaning that when we come to the next job we end up wasting a plate as it has all the previous details.
I can clear the print queue manually via the printer dialogue and also from the command line. Is there a way to have a short cut on the desk top to clear the queue with just a double click?
SD.
Occasionally the software will output two jobs to the engraver, meaning that when we come to the next job we end up wasting a plate as it has all the previous details.
I can clear the print queue manually via the printer dialogue and also from the command line. Is there a way to have a short cut on the desk top to clear the queue with just a double click?
SD.
Open Notepad.
Enter this text:
net stop spooler
del %systemroot%\System32\spool\printers\* /Q
net start spooler
Save the file to your desktop with a .bat extension rather than a .txt extension - so something like clearqueue.bat
When running the .bat file, right click it and select 'Run as administrator'
Enter this text:
net stop spooler
del %systemroot%\System32\spool\printers\* /Q
net start spooler
Save the file to your desktop with a .bat extension rather than a .txt extension - so something like clearqueue.bat
When running the .bat file, right click it and select 'Run as administrator'
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff