From e30e2a801873bbc75c74775157f7403b5933edc0 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 23 Mar 2017 20:13:13 +0100 Subject: [PATCH] Instead of not sending the line at all, just send a get temp command --- plugins/USBPrinting/USBPrinterOutputDevice.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/USBPrinting/USBPrinterOutputDevice.py b/plugins/USBPrinting/USBPrinterOutputDevice.py index 31cdb16ff5..dfe6e94387 100644 --- a/plugins/USBPrinting/USBPrinterOutputDevice.py +++ b/plugins/USBPrinting/USBPrinterOutputDevice.py @@ -560,10 +560,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice): line = line[:line.find(";")] line = line.strip() - # Don't send empty lines + # Don't send empty lines. But we do have to send something, so send m105 instead. if line == "": - self._gcode_position += 1 - return + line = "M105" try: if line == "M0" or line == "M1":