mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
UM3 familiy printers now set their machine type
CURA-2475
This commit is contained in:
parent
8bd3b7ea9b
commit
8cbd6443be
1 changed files with 8 additions and 0 deletions
|
@ -166,6 +166,14 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||||
|
|
||||||
self._compressing_print = False
|
self._compressing_print = False
|
||||||
|
|
||||||
|
printer_type = self._properties.get(b"machine", b"").decode("utf-8")
|
||||||
|
if printer_type == "9511.0":
|
||||||
|
self._updatePrinterType("UM3Extended")
|
||||||
|
elif printer_type == "9066.0":
|
||||||
|
self._updatePrinterType("UM3")
|
||||||
|
else:
|
||||||
|
self._updatePrinterType("unknown")
|
||||||
|
|
||||||
def _onNetworkAccesibleChanged(self, accessible):
|
def _onNetworkAccesibleChanged(self, accessible):
|
||||||
Logger.log("d", "Network accessible state changed to: %s", accessible)
|
Logger.log("d", "Network accessible state changed to: %s", accessible)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue