From ed8af74183748fea318500c9c2d2932c2d3ae44a Mon Sep 17 00:00:00 2001 From: gitolicious <26963495+gitolicious@users.noreply.github.com> Date: Mon, 13 Jan 2025 20:00:30 +0100 Subject: [PATCH] feat: add Royal Green 1138 label size --- AveryLabels.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/AveryLabels.py b/AveryLabels.py index 1af13cd..2ca7aab 100644 --- a/AveryLabels.py +++ b/AveryLabels.py @@ -1,7 +1,7 @@ from collections.abc import Iterator from reportlab.pdfgen import canvas -from reportlab.lib.pagesizes import A4 -from reportlab.lib.units import mm, cm +from reportlab.lib.pagesizes import A4, letter +from reportlab.lib.units import mm, cm, inch # Usage: # label = AveryLabels.AveryLabel(5160) @@ -42,6 +42,9 @@ labelInfo = { # APLI 100984 40x 52.5x29.7mm 100984: (4, 10, (52.5*mm, 29.7*mm), (0, 0), (0, 0), A4), + + # Royal Green 1x0.375 (1138) + 1138: (7, 22, (1*inch, 0.375*inch), (0.1*inch,0.098*inch), (0.4375*inch, 0.24*inch), letter), } class AveryLabel: