Monday, December 19, 2011

Solve Printer Spooler Problem


Many times you face problems with your printers, one of them is, "some print jobs are stuck in printer spooler". you tried but could not cancel or delete the print jobs, whatever the reason behind it, you can solve it by running a command script as shown below. 

1. Click Start, and then click Run.
2. In the Open box, type notepad, and then click OK or goto Start>Programs>Accessories>Notepad. Notice that a blank Notepad document opens.
3. Carefully select (highlight) the following text:

net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler

4. Right-click the text that you have selected above, and then click Copy or press Ctrl+c. 
5. In Notepad, right-click in the blank document, and then click Paste or press Ctrl+v.
6. Now, save the file to a location from where you can access it easily (e.g. desktop, drive C, drive D, etc) with any name you want but with ext ".cmd". In this example we will save it as "DeletePrintJobs.cmd".

Note this file name differs from most other file names that you might have seen. That is because this file is a command script file.

7. Now that you have created the command script file, you have to run it, to solve printer spooler problem. Goto the file where you have saved it earlier and double click on it.

6. Notice that a Command Prompt window opens to run the command script file that you created. Notice also that this window automatically closes when the command script file finish running.  If you do not see the Command Prompt window open, check that you saved the command script file with correct name.

After running the command script file successfully, print something on your printer, it should be working fine now.

Note: If this method does not work the first time, or if you cannot print anything after you use this method, restart your computer, and then try again.

No comments:

Post a Comment

Thanx for commenting. Your comment will appear shortly!

Related Posts Plugin for WordPress, Blogger...