Solved

Can I reset a Windows printer from a batch file

Posted on 2009-05-19
7
413 Views
Last Modified: 2013-12-15
I have an HP printer that thinks that it is constantly busy after I send it a print job from a DOS program.  I would like to be able to send a reset to the printer but have no idea how to do that.

Don't get hung up on the fact that the DOS program needs to get fixed, I don't have the source and cannot get it.

The printer is an HP Laserjet 3015
0
Comment
Question by:c7c4c7
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:CyberLex
Comment Utility
try sending this to your printer (file attache)

<escape>E  
ejects page

and

<escape>%-12345X
exits active printer language
0
 
LVL 9

Accepted Solution

by:
CyberLex earned 500 total points
Comment Utility
oops, submitted to early :=) file attached
eject.txt
0
 

Author Comment

by:c7c4c7
Comment Utility
Is this a bat file?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Expert Comment

by:EjayHire
Comment Utility
No.  It's a text file.  If your DOS application is using LPT1 you can use the copy command to send it to the printer.  The command is...

c:> copy eject.txt LPT1
0
 
LVL 9

Expert Comment

by:CyberLex
Comment Utility
no bat file. it's a pjl file to send to the printer. either copy from dos if its parallel (eg. copy /b eject.txt lpt1)

or you can use a free utility to send it to your printer from euroform
http://ftp.euroform.com/download/software/PrintUtil/zip/PrintUtil_04.zip


cheers
Lex


0
 
LVL 9

Expert Comment

by:CyberLex
Comment Utility
ah didn't see the answer from Ejay - same same :)
0
 

Author Closing Comment

by:c7c4c7
Comment Utility
Worked as advertised
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now