Just copy the following script to notepad and name it as bat file (ex. cancelprint.bat).
@echo off
echo Stopping print spooler.
echo.
net stop spooler
echo Cancel all print jobs.
echo.
FOR %%A IN (%systemroot%\ system32\ spool\ printers\ \ *.*) DO DEL %%A
echo Starting print spooler.
echo.
net start spooler
Now every time you want to cancel a stubborn print job, just double-click the file and it will stop the print spooler service, delete the temp files, and restart the print spooler for you.
To save you from troubles, you can also download the bat file here.
To stay up-to-date on Technology news, subscribe now.
0 comments:
Post a Comment