Page 1 of 1

Batch file or vbscript to reboot printers on network?

Posted: 08 Aug 2013 08:36
by anoble1
Is it possible to create a batch file to reboot network printers on the network?
Can you even send commands to a printer via batch?

Thanks,

Re: Batch file or vbscript to reboot printers on network?

Posted: 08 Aug 2013 08:40
by foxidrive
I have no direct experience with network printers but you would either need to log in via a HTTP interface and supply credentials to access the system - or you may be able to telnet into the printer and supply credentials and possibly reboot it using commands. The telnet option could be scripted with a scriptable third party telnet program.

Re: Batch file or vbscript to reboot printers on network?

Posted: 08 Aug 2013 10:11
by Squashman
Been a while since I have seen a network printer with telnet access. Probably close to 10 years and that was on an older style printer that we still had in the school district.

Re: Batch file or vbscript to reboot printers on network?

Posted: 09 Aug 2013 03:51
by foxidrive
That could be the sticking point. :) As I said, I don't deal with them really - but some modems still have telnet access so it could be that some printers do too.

Re: Batch file or vbscript to reboot printers on network?

Posted: 09 Aug 2013 15:38
by penpen
You may use a VBS or JScript (preferred when using with batch files), to send http requests,
so scripted controlling via http interface is possible, too.
Here is an example to retrieve an html page, web authentication is commented out, just remove the ' characters in those lines:
http://www.activexperts.com/activsocket/howto/http/vbscript/

penpen