qr_sticker¶
Print-ready QR code for the web interface, e.g. as a sticker.
- uv run tools/qr_sticker.py sticker.png [–url http://epaper.local/]
[–size-mm 30] [–dpi 300]
Uses the board’s own encoder (qr) and adds the quiet zone and a
caption below the code.
Attributes¶
Functions¶
Module Contents¶
- qr_sticker.ROOT¶
- qr_sticker.FONT = '/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf'¶
- qr_sticker.QUIET_ZONE = 4¶
- qr_sticker.sticker(url, size_mm, dpi, caption)¶
Draw a printable QR code for
urlwith an optional caption.
- qr_sticker.main()¶
Run the command line tool.