Sabka Dost....... India Post...... DISCLAIMER CERTIFICATE - All the information on this website is published in good faith and for general information purpose only. We do not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information on our website is strictly at your own risk. And we will not be liable for any losses and damages in connection with the use of our website. From our website, you can visit other websites by following hyperlinks to these sites. While we strive to provide only links to useful and ethical websites, we have no control over the content and nature of these sites and the links to other websites do not imply a recommendation for all the content found on these sites. Please be also aware that when you leave our website, other sites may have different privacy policies

Friday, September 21, 2012

Cancel a Print Job Without Waiting Years

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 off
echo Stopping print spooler.
echo.
net stop spooler
echo 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.