From 06fff748e34745d323803b3dbe574c57528d20e2 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 30 Mar 2017 16:59:35 +0200 Subject: [PATCH] Decreased the size of the batches to send, as it froze the interface too much. --- plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py index f81ab74141..c3c4ecb2e1 100644 --- a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py +++ b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py @@ -791,7 +791,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice): self._compressing_print = True ## Mash the data into single string - max_chars_per_line = 1024*1024*2 # 2 MB + max_chars_per_line = 1024 * 1024 / 4 # 1 / 4 MB byte_array_file_data = b"" batched_line = ""