Windows.KillPrintJobs History
Hide minor edits - Show changes to markup
(:source lang=Bash:)
(:source lang=Dos:)
(:Description There are times when it seems impossible to remove jobs from the print queue of a particular printer. This is often the case when I play with network printers and get the port settings wrongs: Windows keeps trying to send the print job to a non-existent machine and it becomes impossible to remove the job through the traditional way (cancelling or deleting it from the printer properties). :)
=dosbatch [=
(:source lang=Bash:)
=]
(:sourcend:)
- NT spool job stuck cannot cancel can't delete NT print job
- NT spool job stuck cannot cancel can't delete NT print job
(:comments:)
Describe KillPrintJobs here.
There are times when it seems impossible to remove jobs from the print queue of a particular printer. This is often the case when I play with network printers and get the port settings wrongs: Windows keeps trying to send the print job to a non-existent machine and it becomes impossible to remove the job through the traditional way (cancelling or deleting it from the printer properties).
I found the following to be very effective when the print job hasn't left the Windows machine. Open a Command Prompt and type:
NET STOP SPOOLER CD \ CD %Systemroot%\System32\Spool\Printers (if that doesn't work try:) CD %Winroot%\System32\SpoolPrinters <:vspace> DIR (try to identify the .SPL file that is the problem - the date is probably a good clue) (if you CAN identify it, delete the .SPL and .SHD files (otherwise del all the .spl and .shd files) <:vspace> DEL *.SPL (or spcific if you can figure out which) DEL *.SHD <:vspace> NET START SPOOLER
Source
- http://www.aplawrence.com/Bofcusm/2012.html NT spool job stuck cannot cancel can't delete NT print job