How to clear DOS print queue????
Posted on 2006-07-05
My coworker was trying to print out a directory listing of files to his (directly attached) printer. He mis-remembered the DOS command and instead of typing:
dir > lpt1
print > lpt1
Unfortunately, as he found out, this command means to print the contents of all documents in the current directory (of which there are many, many, many files)! He has turned off his printer (HP Deskjet, I think), turned off his computer, but no matter how long he leaves them off, the printouts keep coming. How can he cancel this printjob or clear the entire print queue? When he issued the command, he did so from a Windows XP dos window. However, the print job isn't showing up in the windows printer queue either. At the moment, he has to leave the paper out of the printer (or keep it off) to keep it from continuing to print. This of course also means that he can't print anything else at the moment until he gets rid of this print job.