Add dymo labels

This commit is contained in:
Artemis Tosini 2023-09-25 19:19:21 +00:00
parent 63c18f09fe
commit 4bfd38212f
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 20 additions and 0 deletions

20
labels_dymo.typ Normal file
View file

@ -0,0 +1,20 @@
#{
set page(width: 3.5in, height: 1.125in, margin: 0em)
import "common.typ"
let options = json("options.json")
let cards = options.cards
for (idx, card) in cards.enumerate() {
if idx != 0 {
pagebreak()
}
place(
top + left,
dx: 1in/16,
dy: 1in/16,
common.address_block(2.5in, 1in, card)
)
}
}