BlueGit

timfa posprint

Clarify that URL query equals signs are QR/barcode data.

Co-authored-by: Cursor <cursoragent@cursor.com>

timfa Tim Falken · pushed by timfa

Authored 2026-08-05 · 3 months ago

Hash
8d593993e475d33fc6ea171ef17919b28aa19b3e
Parent
21ed3af7
2 files changed +3 −3
docs/DSL-SPEC.md +2 −2
@@ -198,7 +198,7 @@ Images are converted to monochrome raster data and scaled to width (never wider
198 198 |-------|--------|
199 199 | Mode | Optional `RASTER` prefix; otherwise native ESC/POS |
200 200 | Symbology | Native: `CODE128`, `EAN13`, `EAN8`, `CODE39`, `UPC-A`, `UPC-E`, `ITF`, `CODABAR`. Raster-only: `CODE93`, `CODE11` |
201 | Data | Literal or `${Param}`; multiple words joined until the first `key=value` attribute |
201 | Data | Literal or `${Param}`; multiple words joined until the first attribute token (`height=…`, `align=…`); URLs with `?a=1` are data |
202 202 | `height` | Module / PNG height in dots (default: 64) |
203 203 | `align` | `left`, `center`, `right` |
204 204 | `show_text` | Native only: print HRI text under barcode (default: off; set `show_text=true` to enable) |
@@ -215,7 +215,7 @@ Raster barcodes stretch horizontally to full printable width.
215 215
216 216 | Attribute | Native | Raster |
217 217 |-----------|--------|--------|
218 | Data | URL/text; may include `${Param}`; multiple words joined until the first `key=value` attribute | Same |
218 | Data | URL/text; may include `${Param}`; multiple words joined until the first attribute token (`size=…`, `ecc=…`); URLs with `?a=1` are data | Same |
219 219 | `size` | Module size 1–16 (default 4) | — |
220 220 | `scale` | — | Pixels per module (default 4) |
221 221 | `version` | — | QR version 1–40 (optional) |
@@ -198,7 +198,7 @@ Images are converted to monochrome raster data and scaled to width (never wider
198|-------|--------|
198|-------|--------|
199| Mode | Optional `RASTER` prefix; otherwise native ESC/POS |
199| Mode | Optional `RASTER` prefix; otherwise native ESC/POS |
200| Symbology | Native: `CODE128`, `EAN13`, `EAN8`, `CODE39`, `UPC-A`, `UPC-E`, `ITF`, `CODABAR`. Raster-only: `CODE93`, `CODE11` |
200| Symbology | Native: `CODE128`, `EAN13`, `EAN8`, `CODE39`, `UPC-A`, `UPC-E`, `ITF`, `CODABAR`. Raster-only: `CODE93`, `CODE11` |
201| Data | Literal or `${Param}`; multiple words joined until the first `key=value` attribute |
201| Data | Literal or `${Param}`; multiple words joined until the first attribute token (`height=…`, `align=…`); URLs with `?a=1` are data |
202| `height` | Module / PNG height in dots (default: 64) |
202| `height` | Module / PNG height in dots (default: 64) |
203| `align` | `left`, `center`, `right` |
203| `align` | `left`, `center`, `right` |
204| `show_text` | Native only: print HRI text under barcode (default: off; set `show_text=true` to enable) |
204| `show_text` | Native only: print HRI text under barcode (default: off; set `show_text=true` to enable) |
@@ -215,7 +215,7 @@ Raster barcodes stretch horizontally to full printable width.
215
215
216| Attribute | Native | Raster |
216| Attribute | Native | Raster |
217|-----------|--------|--------|
217|-----------|--------|--------|
218| Data | URL/text; may include `${Param}`; multiple words joined until the first `key=value` attribute | Same |
218| Data | URL/text; may include `${Param}`; multiple words joined until the first attribute token (`size=…`, `ecc=…`); URLs with `?a=1` are data | Same |
219| `size` | Module size 1–16 (default 4) | — |
219| `size` | Module size 1–16 (default 4) | — |
220| `scale` | — | Pixels per module (default 4) |
220| `scale` | — | Pixels per module (default 4) |
221| `version` | — | QR version 1–40 (optional) |
221| `version` | — | QR version 1–40 (optional) |
docs/HELP.md +1 −1
@@ -209,7 +209,7 @@ Local paths resolve relative to the `.pos` file. `http://` and `https://` URLs a
209 209 | `align` | `left`, `center`, `right` |
210 210 | `show_text` | Native only: human-readable text under barcode (default off; `show_text=true` to enable) |
211 211
212 Data may contain spaces; tokens after the symbology are joined until the first `key=value` attribute.
212 Data may contain spaces; tokens after the symbology are joined until the first attribute token (`size=…`, `align=…`, etc.). A URL with a query string (`https://…?a=1`) is still data.
213 213
214 214 ### QR code
215 215
@@ -209,7 +209,7 @@ Local paths resolve relative to the `.pos` file. `http://` and `https://` URLs a
209| `align` | `left`, `center`, `right` |
209| `align` | `left`, `center`, `right` |
210| `show_text` | Native only: human-readable text under barcode (default off; `show_text=true` to enable) |
210| `show_text` | Native only: human-readable text under barcode (default off; `show_text=true` to enable) |
211
211
212Data may contain spaces; tokens after the symbology are joined until the first `key=value` attribute.
212Data may contain spaces; tokens after the symbology are joined until the first attribute token (`size=…`, `align=…`, etc.). A URL with a query string (`https://…?a=1`) is still data.
213
213
214### QR code
214### QR code
215
215