Print Spooler Cleanup
On a Citrix Server: ECHO. ECHO ======================================== ECHO Restarting Printspooler... ECHO ======================================== rem stop printerspooler sc stop cpsvc sc stop spooler rem wait4sec ping -n 4 127.0.0.1 > nul rem delete print jobs del /Q /F \\%1\C$\WINDOWS\system32\spool\PRINTERS\ *.* rem wait4sec ping -n 4 127.0.0.1 > nul rem start print spooler sc start spooler sc start cpsvc rem query sc query spooler sc query cpsvc Non-Citrix server and with special pdf995 printer: ECHO. ECHO =========================================== ECHO Restarting Printspooler + PDF995 cleanup... ECHO =========================================== rem stop printerspooler sc stop spooler rem wait4sec ping -n 4 127.0.0.1 > nul rem delete print jobs del /Q /F \\%1\C$\WINDOWS\system32\spool\PRINTERS\ *.* del /Q /F \\%1\"C$\Program Files\pdfdata\pdf995\*.ps" del /Q /F \\%1\"C$\Program Files\pdfdata\pdf995\*.tmp" rem wait4sec ping -n 4 12...