mirror of
https://github.com/entropia/paperless-asn-qr-codes.git
synced 2024-05-09 11:26:44 +00:00
Correct gutter size and margin on avery5167
This commit is contained in:
parent
e51d579a83
commit
d95dea4196
|
@ -2,7 +2,8 @@ from dataclasses import dataclass, KW_ONLY
|
|||
from collections.abc import Iterator
|
||||
from reportlab.pdfgen import canvas
|
||||
from reportlab.lib.pagesizes import LETTER, A4
|
||||
from reportlab.lib.units import mm
|
||||
from reportlab.lib.units import mm, inch
|
||||
|
||||
|
||||
# Usage:
|
||||
# label = AveryLabels.AveryLabel(5160)
|
||||
|
@ -67,9 +68,9 @@ labelInfo: dict[str, LabelInfo] = {
|
|||
"avery5167": LabelInfo(
|
||||
labels_horizontal=4,
|
||||
labels_vertical=20,
|
||||
label_size=(126, 36),
|
||||
gutter_size=(0, 0),
|
||||
margin=(54, 36),
|
||||
label_size=(1.75 * inch, 0.5 * inch),
|
||||
gutter_size=(0.3 * inch, 0),
|
||||
margin=(0.3 * inch, 0.5 * inch),
|
||||
pagesize=LETTER,
|
||||
),
|
||||
# 3.5 x 2 business cards
|
||||
|
|
Loading…
Reference in a new issue