...
Pre-requisite Requirements
The printer(s) should be registered in IT-Conductor for monitoring. See OS Printer Monitoring for more details.
How to Automate OS Printer Queue Restart
When configuring printer alerts, the following command as shown in the SSH tab should handle the recovery action needed to restart a printer.
...
Simple The command in Figure 1 is a simple ssh script that runs as ITC activity is called during a recovery action .
We identified that the status of the printer could be any one of the following:
Idle
Printing
Disabled
In the above configurationwhen the condition configured is triggered.
...
In Figure 2, the recovery action is will be triggered when the printer 's status goes to “Disabled“ and is relaunched if after 10 minutes it's still in “Disabled“ statusis in a “Disabled“ state. If the printer remains in the “Disabled“ state for 10 minutes, the restart recovery action is triggered again until the status change to either “Idle” or “Printing”.