Add page size configurability

This commit is contained in:
2026-05-07 06:15:09 +09:30
parent 65288b9833
commit f7da8d7db9
4 changed files with 52 additions and 4 deletions

View File

@@ -38,3 +38,30 @@ borders between each label:
Run `qr_labels -help` for all command line parameters.
```
Usage of qr_labels:
-borders
print borders between labels
-code string
string to turn into a QR code (URL, text etc)
-code-is-label
use the -code as the -label
-cols uint
number of columns on the page (default 3)
-font string
name of the font (default "Helvetica")
-font-size float
font-size, in pts (default 24)
-font-style string
font style, combine 'B', 'U', 'S', 'I' characters
-label string
label (printed above QR code)
-output string
filename to write the PDF
-page-size string
page size (A1, A2, A3, A4, A5, A6, A7, Letter, Legal, Tabloid) (default "A4")
-rows uint
number of rows on the page (default 4)
-size float
size of the QR code (default 50)
```