Can't clear print queue

H

Herzl Regev

How do I clear the print queue?
I've tried "net stop spooler" and deleted all in
/WINDOWS/System32/spool/PRINTERS, to no avail.

The OS is XP Home SP3. The printer is HP psc 1200.
 
P

Pegasus [MVP]

Herzl Regev said:
How do I clear the print queue?
I've tried "net stop spooler" and deleted all in
/WINDOWS/System32/spool/PRINTERS, to no avail.

The OS is XP Home SP3. The printer is HP psc 1200.

What happened when you deleted the files in the Printers folder? Did any of
them stay behind? Any screen message?
 
P

Patrick Keenan

Herzl Regev said:
How do I clear the print queue?
I've tried "net stop spooler" and deleted all in
/WINDOWS/System32/spool/PRINTERS, to no avail.

The OS is XP Home SP3. The printer is HP psc 1200.

Have you restarted the PC?
 
L

LD55ZRA

You just need to right-Click on the systems tray icon for the printer and
then select open. You can now delete the jobs listed in there but you need
to be an administrator or a user who sent the job in the first place.

hth
 
H

Herzl Regev

First of all, the problem went away, but it might return. Re the replies:

before trying the way I listed, I already tried the way suggested by LD55ZRA.

when I deleted the files in /WINDOWS/System32/spool/PRINTERS, nothing was
left, but the printer queue stayed occupied. I didn't reboot the PC. What
seems to have worked was that I closed that window that I got from "opening"
the printer. Before that I disconnected the printer, turned it off - didn't
help.
 
P

Pegasus [MVP]

Herzl Regev said:
First of all, the problem went away, but it might return. Re the replies:

before trying the way I listed, I already tried the way suggested by
LD55ZRA.

when I deleted the files in /WINDOWS/System32/spool/PRINTERS, nothing was
left, but the printer queue stayed occupied. I didn't reboot the PC. What
seems to have worked was that I closed that window that I got from
"opening"
the printer. Before that I disconnected the printer, turned it off -
didn't
help.

I think you were deceived. Cleaning out the Printers folder is a
non-approved way of doing things and your printer screen will not update
itself automatically. If you did a screen refresh (e.g. with F5) then you
would immediately see an empty print queue.
 
H

HeyBub

Herzl said:
How do I clear the print queue?
I've tried "net stop spooler" and deleted all in
/WINDOWS/System32/spool/PRINTERS, to no avail.

The OS is XP Home SP3. The printer is HP psc 1200.

You may have to build in a pause (the "ping" command).

The following batch file works for me:

@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
 
J

John John - MVP

HeyBub said:
You may have to build in a pause (the "ping" command).

The following batch file works for me:

@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

Actually, when taking a second look at the batch file you will see that
all that the ping command does is give the user a bit of time to see and
read the echo...

John
 
P

Pegasus [MVP]

John John - MVP said:
Actually, when taking a second look at the batch file you will see that
all that the ping command does is give the user a bit of time to see and
read the echo...

John

The batch file comes out of my kitchen and yes, this was exactly the purpose
of the ping command. Some day, if you're interested, I'll explain the
contortions I had to go through to get around the UAC restrictioins under
Windows 7 . . .
 
R

regbrown

Herzl Regev said:
How do I clear the print queue?
I've tried "net stop spooler" and deleted all in
/WINDOWS/System32/spool/PRINTERS, to no avail.

The OS is XP Home SP3. The printer is HP psc 1200.
 

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