This commit is contained in:
USER
2023-02-27 15:59:01 +00:00
parent aac57342df
commit 14e187ed76
3 changed files with 30 additions and 0 deletions

16
printfix.bat Normal file
View File

@ -0,0 +1,16 @@
@echo off
echo.
echo TH PrintFix v1
echo Checking Print Jobs..
wmic printjob get jobid, document, jobstatus
Pause
echo Purging the print queue...
net stop Spooler
echo Deleting all print jobs...
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Current Print Jobs...
wmic printjob get jobid, document, jobstatus
echo Done! - Windows will automaticaly close...
ping localhost -n 5 > nul