From e9159bc88a21d6dcb23e54ff10760205e97525fa Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Thu, 15 Dec 2016 17:48:44 +0100 Subject: [PATCH] fix QL-500 / QL-570 incomplete printing (issue #11) --- brother_ql/raster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brother_ql/raster.py b/brother_ql/raster.py index 8365276..dd0e26c 100644 --- a/brother_ql/raster.py +++ b/brother_ql/raster.py @@ -120,8 +120,8 @@ class BrotherQLRaster(object): self.data += bytes([valid_flags]) vals = [self._mtype, self._mwidth, self._mlength] self.data += b''.join(b'\x00' if val is None else val for val in vals) - self.data += struct.pack(' found! (payload: 8E 0A 3E 00 D2 00 00 00 00 00)