How to delete print job?

B

brett

I have a print job in the print queue with a "deleting..." status. It
won't go away and is holding up other jobs. I've restarted the Print
Spooler service but that didn't help. Turning the printer off/on
didn't help either.

I have a Lexmark x83 all in one. Does some one have suggestions on how
I can delete this job?

Thanks,
Brett
 
N

Nepatsfan

brett said:
I have a print job in the print queue with a "deleting..."
status. It won't go away and is holding up other jobs.
I've restarted the Print Spooler service but that didn't
help. Turning the printer off/on didn't help either.

I have a Lexmark x83 all in one. Does some one have
suggestions on how I can delete this job?

Thanks,
Brett

Delete the contents of this folder.

C:\WINDOWS\System32\spool\PRINTERS

Good luck

Nepatsfan
 
G

Guest

I think there is a bug in Windows XP. I have HP 1402PSC printer and sometimes
if someone by mistake click the Print button then Deleting the Print Job and
Stoping & Starting the service doesn't work. Even, deleting the job from
Spool directory doesn't help.

What I always have to do is Restarting the PC and turning on and Off the
printer. Sometimes twice.

You have to live with this.
 
P

Pegasus \(MVP\)

brett said:
I have a print job in the print queue with a "deleting..." status. It
won't go away and is holding up other jobs. I've restarted the Print
Spooler service but that didn't help. Turning the printer off/on
didn't help either.

I have a Lexmark x83 all in one. Does some one have suggestions on how
I can delete this job?

Thanks,
Brett

Do this:
- Click Start / Run / notepad c:\Windows\purge.bat{Enter}
- Paste these lines into the notepad file:
@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul
- Save & close the file.
- Create a shortcut on the desktop to invoke c:\windows\purge.bat.

Whenever you need to delete a print job that you cannot delete
via the Control Panel, double-click this shortcut.
 
D

Daave

brett said:
I have a print job in the print queue with a "deleting..." status. It
won't go away and is holding up other jobs. I've restarted the Print
Spooler service but that didn't help. Turning the printer off/on
didn't help either.

I have a Lexmark x83 all in one. Does some one have suggestions on
how I can delete this job?

1. Click Start and then Control Panel.
2. Select Performance and Maintenance.
3. Select Administrative Tools.
4. Select Services.
5. Select Print Spooler to open the properties window.
6. Click Stop to stop the service. Once the service is stopped click
Start to restart the service.
7. Click OK to close the Print Spooler Properties window.
 
G

Guest

Thanks for this update. I have also asked this many times but nobody gives an
accurate answer. Even the people around me were searching for a solution.
About the Batch file. I think you did a little trick.

First of all you stop the Printer Spooler service.
Then Delete all pending print jobs.
Then again Restarted the Printer Spooler service.

Will you explain the batch commands with us? Secondly, the Printer Icon is
still there. Can it also be removed, if empty?

Once again thanks a lot.

With Regards
Rajiv Kohli
 
P

Pegasus \(MVP\)

The two "ping" commands serve as controlled delays in the
batch file. What other commands do you need an explanation
for? And what "printer icon" are you referring to?
 
G

Guest

Please be more specific about this command. I need complete detail of every
string used in this command.

ping localhost -n 4 > nul

Before that I was using the Ping to just ping another computer. How this
command is surffing with Printer Spooler or anything else?

I was talking about Printer Icon in System Tray. It is still there after
removing the Print Jobs.

Once again a lot of thanks. Two of my friends just write down your batch
file and they will use it in their offices. Hope it will help them too.
 
B

brett

Daave said:
1. Click Start and then Control Panel.
2. Select Performance and Maintenance.
3. Select Administrative Tools.
4. Select Services.
5. Select Print Spooler to open the properties window.
6. Click Stop to stop the service. Once the service is stopped click
Start to restart the service.
7. Click OK to close the Print Spooler Properties window.

?? - it's as if you didn't bother to read the original posting, even
though it's right above your post.
Brett
 
D

Daave

brett said:
?? - it's as if you didn't bother to read the original posting, even
though it's right above your post.

Oops. Somehow my brain filtered out that second sentence! Sorry 'bout
that...
 
D

Daave

Pegasus said:
Do this:
- Click Start / Run / notepad c:\Windows\purge.bat{Enter}
- Paste these lines into the notepad file:
@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul
- Save & close the file.
- Create a shortcut on the desktop to invoke c:\windows\purge.bat.

Whenever you need to delete a print job that you cannot delete
via the Control Panel, double-click this shortcut.

Cool! Thanks, Pegasus!
 
P

Pegasus \(MVP\)

The command

ping localhost -n x > nul

is frequently used in batch files to create a delay, as I mentioned
in my previous reply. It causes the batch file to pause for x-1
seconds before continuing. The >nul redirection ensures that the
screen won't get filled with lots of "Reply from" messages.

The printer applet in the system tray is probably still there because
it does not get refreshed after you run my batch file. This happens
because the batch file punches its way through things instead of
using standard system calls (which can easily take 10 or 20 minutes
to complete!).
 
M

Merlin

Pegasus (MVP) said:
Do this:
- Click Start / Run / notepad c:\Windows\purge.bat{Enter}
- Paste these lines into the notepad file:
@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul
- Save & close the file.
- Create a shortcut on the desktop to invoke c:\windows\purge.bat.

Whenever you need to delete a print job that you cannot delete
via the Control Panel, double-click this shortcut.

Thank you so much Pegasus for this wonderful .bat file. I've needed this for
years!
 
A

Allen

Pegasus said:
Do this:
- Click Start / Run / notepad c:\Windows\purge.bat{Enter}
- Paste these lines into the notepad file:
@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul
- Save & close the file.
- Create a shortcut on the desktop to invoke c:\windows\purge.bat.

Whenever you need to delete a print job that you cannot delete
via the Control Panel, double-click this shortcut.

Thank you Pegasus! This is a recurring problem for many (all?) people.
When there is such a simple, straightforward fix, why in the world has
MS never included it in XP?
Allen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top