Ever tried canceling a print job in Windows but feel like it takes ages before anything actually happens? 
Windows  is unable to cancel print jobs while the temporary file created for the  print job is still being used by Windows. The solution: You've got to  stop the spoolsv.exe service in the Windows Task Manager, delete any  outstanding print jobs in the 
C:\Windows\system32\spool\printers\ directory,  restart the spoolsv.exe service, and then start printing again. That's a  lot of work to do manually, particularly if this is a problem you run  into regularly, Here is the script for a batch file; just copy this to a new text document and save as "Clearprint.bat"
@echo offecho Stopping print spooler.echo.net stop spoolerecho deleting stuff... where? I'm not sure. Just deleting stuff.echo.del "%systemroot%\system32\spool\printers\*.shd"del "%systemroot%\system32\spool\printers\*.spl"echo Starting print spooler.echo.net start spooler When click the Clearprint.bat file all the print request will be deleted & printer is ready to accept new request
 
 
No comments:
Post a Comment