?
Solved

How to clear DOS print queue????

Posted on 2006-07-05
2
Medium Priority
?
1,070 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

864 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