mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 08:05:56 +08:00
UM3 familiy printers now set their machine type
CURA-2475
This commit is contained in:
parent
8bd3b7ea9b
commit
8cbd6443be
@ -166,6 +166,14 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
|
||||
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):
|
||||
Logger.log("d", "Network accessible state changed to: %s", accessible)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user