[OT]kinda. Script to restart printer

Michael wrote:
> I am trying to find VB script that will allow me to restart a
> printer. During our midnight shift I am not sure what is
> happening but they are losing connections to printers. Most
> of the time someone unplugged it or they run out of ribbon.
> Once they come back online the jobs are stuck in the print
> que. I would like to add a button to there screen that would
> restart the printer. Maybe there is a setting I don't know
> about that will retry every so often instead of just stopping
> until I manually restart the printer.

You might find something here:

http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
I am trying to find VB script that will allow me to restart a printer. During our midnight shift I am not sure what is happening but they are losing connections to printers. Most of the time someone unplugged it or they run out of ribbon. Once they come back online the jobs are stuck in the print que. I would like to add a button to there screen that would restart the printer. Maybe there is a setting I don't know about that will retry every so often instead of just stopping until I manually restart the printer.
Have you tried to see if restarting the spooler-service causes the jobs
to re-print? If so, it's a simple script:

net stop spooler
net start spooler

Schedule that to run every, say, 15 minutes between 10pm and 4am.

--Ari

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Tuesday, July 07, 2009 3:32 PM
To: vantage@yahoogroups.com
Subject: [Vantage] [OT]kinda. Script to restart printer.





I am trying to find VB script that will allow me to restart a printer.
During our midnight shift I am not sure what is happening but they are
losing connections to printers. Most of the time someone unplugged it or
they run out of ribbon. Once they come back online the jobs are stuck in
the print que. I would like to add a button to there screen that would
restart the printer. Maybe there is a setting I don't know about that
will retry every so often instead of just stopping until I manually
restart the printer.






[Non-text portions of this message have been removed]