Posts tagged ‘Print job’

September 3, 2012

How to delete a print job that is stuck in the print queue

by Jay Jonas

Printing problems are some of the most frustrating problems that we experience as computer users.

Last week I had some problems with stuck network printer jobs in Windows 2003 Server. Forget to press Cancel button. Forget to turn off and on your printer. Forget the Control Panel. Go straight forward to the core of the problem, be radical.

Start Notepad and write down the following command:

@echo off
pause Press ENTER to continue or CTRL+C to Cancel
net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler
pause The Command Script has finished. Press ENTER to exit.

Save this to a command script text file and named it as DeletePrintJobs.bat. Save it where you could easy find it. For example, save it in C:\.

Now that you have created the command script file, you will run it. To run it, you will write the name of the command script file in the Run box, including the path where you save it.

Click Start, and then click Run. In the Open box, write C:\DeletePrintJobs.bat and Click OK.

Notice that the Command Prompt window opens to run the command script file that you created. Notice also that this window will wait for a confirmation when starting and also when finishing. If you do not see the Command Prompt window open, check that you saved the command script file by using the correct name and that you entered the correct command script file name in the Run box.

Note 1 If this method does not work the first time, or if you cannot print anything after you use this method, restart your computer, double check for typo errors and then try again.

Note 2 To use this method, you must have Computer Administrator status