To Preform the Same thing from CMD use
net stop spooler del /Q /F C:\Windows\System32\spool\PRINTERS\* net start spooler