From e8418960903aa68a06a19e17490a358c48debda6 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 28 Nov 2017 13:04:58 +0100 Subject: [PATCH] PrintJobs are now assigned if they are not queued It used to just do it if it was printing, but jobs can also be in other states such as paused, pre_print, etc CL-541 --- plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py index ec6c94adb7..c8462e34d5 100644 --- a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py +++ b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py @@ -193,7 +193,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice): print_job.updateTimeTotal(print_job_data["time_total"]) print_job.updateTimeElapsed(print_job_data["time_elapsed"]) print_job.updateState(print_job_data["status"]) - if print_job.state == "printing": + if print_job.state != "queued": # Print job should be assigned to a printer. printer = self._getPrinterByKey(print_job_data["printer_uuid"]) if printer: