2026-05-07 06:04:00 +09:30
WIP
2026-04-28 11:59:04 +09:30
2026-05-06 15:53:24 +09:30
2026-05-06 15:43:30 +09:30
2026-04-28 08:26:35 +09:30
2026-04-28 08:26:35 +09:30
2026-05-07 06:02:33 +09:30
2026-05-07 06:02:33 +09:30
2026-05-07 06:04:00 +09:30

qr_labels

I was packing boxes and nerd-sniped myself by deciding I needed a labelling and cataloguing system to help me keep track of what was there.

To do that I needed to print labels for boxes, and figured it might be useful if they also had QR codes on them.

I thought there would be a simple online tool to create pages of identical QR labels, but apparently not.

Installing

go install  code.ppl.town/justin/qr_labels/cmd/qr_labels@latest

or, you can just run it without installing:

go run code.ppl.town/justin/qr_labels/cmd/qr_labels@latest <arguments>

Synopsis

Generate a page with 6 labels, where the QR code represents the string "hello world" and the printed label is the same,

qr_labels -code "hello world" -code-is-label -rows 3 -cols 2 -output labels1.pdf

hello world

Generate a page with 24 labels, with the code being a URL and the text label being a different string. Adjust the sizes of the code and the font and include borders between each label:

qr_labels -code "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -label 'innocent link' -rows 6 -cols 4 -size 30 -font-style BI -borders -font-size 20 -output labels2.pdf

hello world

Help

Run qr_labels -help for all command line parameters.

Description
No description provided
Readme 208 KiB
Languages
Go 100%