Link to home
Start Free TrialLog in
Avatar of sah18
sah18Flag for United States of America

asked on

How to clear DOS print queue????

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

he typed:

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.

PLEASE HELP!!
ASKER CERTIFIED SOLUTION
Avatar of SteveGTR
SteveGTR
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sah18

ASKER

Nothing was showing up within the windows print queue at all.  I thought this was because it was initiated from dos, but wasn't sure why.

I actually was finally able to get rid of it.  I tried again powering off both the computer and the printer at the same time.  Then I left them off for about 15minutes.  Then I turned the computer back on.  Then, I turned the printer back on.  The print job is finally gone!

I appreciate your response, though!