Add dymo labels
This commit is contained in:
parent
63c18f09fe
commit
4bfd38212f
20
labels_dymo.typ
Normal file
20
labels_dymo.typ
Normal 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)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue