OS Printer Queue Restart Automation
Last updated
Last updated
Printer queues refer to a list of print jobs waiting to be processed for printing. When a printer encounters an error, the printer queues get stuck, and when that happens, restarting usually helps resolve the problem. This process of restarting or clearing the printer queue on an operating system (OS) is called the OS Printer Queue Restart.
For tenants requiring constant use of printers for critical workflows, you can automate the process of restarting printer queues using IT-Conductor’s recovery action.
The printer(s) should be registered in IT-Conductor for monitoring. See OS Printer Monitoring for more details.
When configuring printer alerts, the following command, as shown in the SSH tab, should handle the recovery action needed to restart a printer.
The command in Figure 1 is a simple ssh script that runs as a recovery action when the condition configured is triggered.
In Figure 2, the recovery action will be triggered when the printer is “Disabled“. If the printer remains “Disabled“for 10 minutes, the restart recovery action is triggered again until the status changes to either “Idle” or “Printing”.