Skip to content

feat: Add QR code label dimensions and printing settings - #41

Merged
Ajimaru merged 2 commits into
testingfrom
feature/qr-preview-label-print-css
Jul 17, 2026
Merged

feat: Add QR code label dimensions and printing settings#41
Ajimaru merged 2 commits into
testingfrom
feature/qr-preview-label-print-css

Conversation

@Ajimaru

@Ajimaru Ajimaru commented Jul 17, 2026

Copy link
Copy Markdown
Owner

This pull request adds customizable label size settings for QR code printing and improves the QR label preview and printing workflow in the SpoolManager plugin. Users can now set the physical dimensions of the printed label, and the QR label preview includes a print button and better layout for printing.

New QR label size customization:

  • Added new settings qrCodeLabelWidthMM and qrCodeLabelHeightMM for specifying label width and height in millimeters, with defaults set to 89×36 mm (Dymo 99012 address label). These are exposed in the settings UI and used when printing QR labels. [1] [2] [3]

Improved QR label preview and printing:

  • The QR label HTML view now includes a "Print Label" button and styles that format the page correctly for the chosen label size when printing. The layout adapts for print media, hiding the print button and sizing the content for the label.
  • Added a "Preview Label" button to the spool edit dialog in simple mode, allowing users to preview and print the QR label for an existing spool.

Related Issues & PR's:

@Ajimaru Ajimaru self-assigned this Jul 17, 2026
@Ajimaru Ajimaru added the enhancement New feature or request label Jul 17, 2026
@Ajimaru
Ajimaru marked this pull request as ready for review July 17, 2026 10:40
@Ajimaru
Ajimaru merged commit cd0a1e8 into testing Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request