Solved

How to clear DOS print queue????

Posted on 2006-07-05
2
1,042 Views
Last Modified: 2008-01-16
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!!
0
Comment
Question by:sah18
2 Comments
 
LVL 30

Accepted Solution

by:
SteveGTR earned 500 total points
ID: 17042418
Selecting Start --> Printers and Faxes, doubling clicking the local printer, selecting Printer --> Cancel All Documents doesn't work?
0
 
LVL 9

Author Comment

by:sah18
ID: 17042900
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!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question