From 4a4b0960520de86f538f7848fed16385740b6881 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 28 Sep 2018 11:53:03 +0200 Subject: [PATCH] Only send uppercase g-code via custom commands Because most printers don't understand anything other than uppercase. Fixes #4178. --- cura/PrinterOutput/GenericOutputController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrinterOutput/GenericOutputController.py b/cura/PrinterOutput/GenericOutputController.py index e6310e5bff..95e65b2f0b 100644 --- a/cura/PrinterOutput/GenericOutputController.py +++ b/cura/PrinterOutput/GenericOutputController.py @@ -66,7 +66,7 @@ class GenericOutputController(PrinterOutputController): self._output_device.sendCommand("G28 Z") def sendRawCommand(self, printer: "PrinterOutputModel", command: str): - self._output_device.sendCommand(command) + self._output_device.sendCommand(command.upper()) #Most printers only understand uppercase g-code commands. def setJobState(self, job: "PrintJobOutputModel", state: str): if state == "pause":