From 6641415a38ff1c6a30f9db4afd22399cb7a3159f Mon Sep 17 00:00:00 2001 From: krisrok Date: Mon, 25 Sep 2017 23:43:45 +0200 Subject: [PATCH] refine abort sequence homing the head with "G28" does not work on my printer for some reason. "G28 X" and "G28 Y" however do. this fix should not break behaviour on other printers as "G28" is just a shortcut. --- plugins/USBPrinting/USBPrinterOutputDevice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/USBPrinting/USBPrinterOutputDevice.py b/plugins/USBPrinting/USBPrinterOutputDevice.py index 4d3b8446a3..428caebd4b 100644 --- a/plugins/USBPrinting/USBPrinterOutputDevice.py +++ b/plugins/USBPrinting/USBPrinterOutputDevice.py @@ -119,7 +119,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice): self._sendCommand("G0 Y%s F%s" % (z, speed)) def _homeHead(self): - self._sendCommand("G28") + self._sendCommand("G28 X") + self._sendCommand("G28 Y") def _homeBed(self): self._sendCommand("G28 Z")