From ea444aa577608a521b487ec331e4404341945c6e Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 25 Aug 2022 00:07:10 +0200 Subject: [PATCH] Support 54x29 Label https://github.com/matmair/brother_ql-inventree/pull/19 Co-authored-by: Hikaru Sugiura <2618822+aquahika@users.noreply.github.com> --- README.md | 1 + brother_ql/labels.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index eadb3aa..3de59a5 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,7 @@ The available label names can be listed with `brother_ql info labels`: 39x90 413 x 991 38mm x 90mm die-cut 39x48 425 x 495 39mm x 48mm die-cut 52x29 578 x 271 52mm x 29mm die-cut + 54x29 598 x 271 54mm x 29mm die-cut 62x29 696 x 271 62mm x 29mm die-cut 62x100 696 x 1109 62mm x 100mm die-cut 102x51 1164 x 526 102mm x 51mm die-cut diff --git a/brother_ql/labels.py b/brother_ql/labels.py index 4f247c3..5eded17 100644 --- a/brother_ql/labels.py +++ b/brother_ql/labels.py @@ -98,6 +98,7 @@ def name(self): # type: str Label("39x90", ( 38, 90), FormFactor.DIE_CUT, ( 449, 1061), ( 413, 991), 12 ), Label("39x48", ( 39, 48), FormFactor.DIE_CUT, ( 461, 565), ( 425, 495), 6 ), Label("52x29", ( 52, 29), FormFactor.DIE_CUT, ( 614, 341), ( 578, 271), 0 ), + Label("54x29", ( 54, 29), FormFactor.DIE_CUT, ( 630, 341), ( 598, 271), 60 ), Label("62x29", ( 62, 29), FormFactor.DIE_CUT, ( 732, 341), ( 696, 271), 12 ), Label("62x100", ( 62, 100), FormFactor.DIE_CUT, ( 732, 1179), ( 696, 1109), 12 ), Label("102x51", (102, 51), FormFactor.DIE_CUT, (1200, 596), (1164, 526), 12 , restricted_to_models=['QL-1050', 'QL-1060N', 'QL-1100', 'QL-1100NWB', 'QL-1115NWB']),