first of all, you need to prepare a reboot file:
%-12345X@PJL COMMENT
@PJL DMINFO ASCIIHEX="040006020501010301040105"
%-12345X
Copy this to a notepad and save it as: reboot.txt (actually, you can named it anything you want...tehee!)
Now, to make a connection using CMD command to the printer.
On CMD, type the path where the reboot.txt is. Since i put mine at desktop, it will looked like this:
c:\user\unit01\cd desktop
c:\user\unit01\desktop
then, type ftp. It will be looked like this one:
c:\user\unit01\cd desktop
c:\user\unit01\desktop
c:\user\unit01\desktop\ftp
ftp>
type open 192.168.*.*, where this is the IP of your printer. afterwards, it will be looking for your password:
c:\user\unit01\desktop\ftp
ftp>open 192.168.*.*
hit enter if you didn't have any password, until the ftp> appeared again. and lastly type:
ftp> put c:\user\unit01\desktop\reboot.txt
hit enter and wait for the ftp> to show again. notice the printer that it will restart by itself.
type the word "bye" to exit from the ftp mode.
...and that's how to restart the printer remotely.
I tested it to our office printer (HP Laserjet 4315dtn) and it works like magic.
No comments:
Post a Comment