Is there an easy way to cancel a print job?

  • Thread starter Thread starter April Ryan
  • Start date Start date
A

April Ryan

A runaway print project can take a reboot to kill. Is there an easier way?

April
 
From a command prompt issue:

NET STOP SPOOLER

cd %systemroot%\SYSTEM32\spool\PRINTERS

del *.spl
del *.shd

NET START SPOOLER

That will delete ALL the print jobs. If you only want to delete 1 job
navigate to the folder and delete the corresponding .shd & .spl files.

John
 
John John said:
From a command prompt issue:

NET STOP SPOOLER

cd %systemroot%\SYSTEM32\spool\PRINTERS

del *.spl
del *.shd

NET START SPOOLER

That will delete ALL the print jobs. If you only want to delete 1 job
navigate to the folder and delete the corresponding .shd & .spl files.

John

Is this more effective than simply opening the printer and cancelling all
pending jobs that way?
 
Brian said:
Is this more effective than simply opening the printer and cancelling all
pending jobs that way?

The original poster must have tried that because he/she said that the
only way they could stop the print job was to reboot the computer. I
assumed, perhaps wrongly, that your suggestion would be the first thing
that he or she would have tried. Having "non cancellable" print jobs
happen at times.

John
 
Remove the supply of paper from the printer, then take whatever steps you
can at the computer.
 
April Ryan wrote:
| A runaway print project can take a reboot to kill. Is there an easier way?
|
| April

Save the five lines below in Notepad as "StopPrint.bat" in your C:\ folder. Then create a shortcut to it and execute it whenever you need to clear the print queue. It works very well, and it doesn't interrupt your work flow.

(I didn't originate this batch file; I got it a few months ago from someone in this group.)

Frank D

net stop spooler
ping 127.0.0.1 -n 3
del %systemroot%\system32\spool\printers\*.* /F /Q /S
ping 127.0.0.1 -n 3
net start spooler
 

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

Back
Top