Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to delete print job?

1 view
Skip to first unread message

brett

unread,
Dec 8, 2006, 11:02:51 PM12/8/06
to
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

Nepatsfan

unread,
Dec 8, 2006, 11:16:31 PM12/8/06
to
"brett" <acc...@cygen.com> wrote in message
news:1165636971.3...@80g2000cwy.googlegroups.com

Delete the contents of this folder.

C:\WINDOWS\System32\spool\PRINTERS

Good luck

Nepatsfan


Pegasus (MVP)

unread,
Dec 8, 2006, 11:45:21 PM12/8/06
to

"brett" <acc...@cygen.com> wrote in message
news:1165636971.3...@80g2000cwy.googlegroups.com...

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.


Daave

unread,
Dec 8, 2006, 11:49:36 PM12/8/06
to

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.

--
Dave


RajKohli

unread,
Dec 9, 2006, 12:08:01 AM12/9/06
to
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
--
If you found this post helpful then "Rate this Post".

Pegasus (MVP)

unread,
Dec 9, 2006, 12:12:07 AM12/9/06
to
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?


"RajKohli" <RajK...@discussions.microsoft.com> wrote in message
news:CB3F52BE-5BBD-4819...@microsoft.com...

RajKohli

unread,
Dec 9, 2006, 12:25:01 AM12/9/06
to
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.

brett

unread,
Dec 9, 2006, 12:45:27 AM12/9/06
to
Thanks Pegasus. That's pretty neat.

Brett

brett

unread,
Dec 9, 2006, 12:47:48 AM12/9/06
to

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

Daave

unread,
Dec 9, 2006, 12:57:40 AM12/9/06
to

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


Daave

unread,
Dec 9, 2006, 12:58:35 AM12/9/06
to
Pegasus (MVP) wrote:

> 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!


Pegasus (MVP)

unread,
Dec 9, 2006, 1:00:21 AM12/9/06
to
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!).


"RajKohli" <RajK...@discussions.microsoft.com> wrote in message

news:78A77FED-F479-4F5B...@microsoft.com...

Merlin

unread,
Dec 9, 2006, 1:15:45 AM12/9/06
to
"Pegasus (MVP)" <I....@fly.com> wrote in message
news:eHsBXz0G...@TK2MSFTNGP02.phx.gbl...

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


Pegasus (MVP)

unread,
Dec 9, 2006, 1:27:38 AM12/9/06
to

"Merlin" <Mer...@noway.com> wrote in message
news:%23Mc95l1...@TK2MSFTNGP02.phx.gbl...

Thanks for the feedback.


Allen

unread,
Dec 9, 2006, 10:38:10 AM12/9/06
to

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

0 new messages