Correct gutter size and margin on avery5167

This commit is contained in:
gparent 2024-04-11 17:54:13 -04:00 committed by Marvin Gaube
parent e51d579a83
commit d95dea4196

View file

@ -2,7 +2,8 @@ from dataclasses import dataclass, KW_ONLY
from collections.abc import Iterator from collections.abc import Iterator
from reportlab.pdfgen import canvas from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import LETTER, A4 from reportlab.lib.pagesizes import LETTER, A4
from reportlab.lib.units import mm from reportlab.lib.units import mm, inch
# Usage: # Usage:
# label = AveryLabels.AveryLabel(5160) # label = AveryLabels.AveryLabel(5160)
@ -67,9 +68,9 @@ labelInfo: dict[str, LabelInfo] = {
"avery5167": LabelInfo( "avery5167": LabelInfo(
labels_horizontal=4, labels_horizontal=4,
labels_vertical=20, labels_vertical=20,
label_size=(126, 36), label_size=(1.75 * inch, 0.5 * inch),
gutter_size=(0, 0), gutter_size=(0.3 * inch, 0),
margin=(54, 36), margin=(0.3 * inch, 0.5 * inch),
pagesize=LETTER, pagesize=LETTER,
), ),
# 3.5 x 2 business cards # 3.5 x 2 business cards