c7c4c7
asked on
Can I reset a Windows printer from a batch file
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is this a bat file?
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
c:> copy eject.txt LPT1
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
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
ah didn't see the answer from Ejay - same same :)
ASKER
Worked as advertised
<escape>E
ejects page
and
<escape>%-12345X
exits active printer language