Mention LAN host:9100 targets in README and CLI help.
Co-authored-by: Cursor <cursoragent@cursor.com>
@@ -1,6 +1,6 @@
1
1
# posprint
2
2
3
Cross-platform designer for POS (point-of-sale) receipt documents. Edit templates in a markdown-like syntax, preview output live, substitute runtime parameters, and print via raw ESC/POS (USB printer-class, Windows spooler, or USB-serial).
3
Cross-platform designer for POS (point-of-sale) receipt documents. Edit templates in a markdown-like syntax, preview output live, substitute runtime parameters, and print via raw ESC/POS (USB printer-class, Windows spooler, USB-serial, or optional LAN TCP 9100).
4
4
5
5
**Target platforms:** Windows and Linux (x64).
6
6
@@ -56,7 +56,7 @@ Tag a version (e.g. `0.4.0`) to trigger release builds. If AUR publishing is con
56
56
- Parameter tokens: `${Name}` (text) and `$[Name]` (bool checkbox) via print dialog and CLI `--set`
57
57
- Inline ASCII checkboxes (`[]` / `[ ]` / `[x]`) — CP437-safe on thermal printers
58
58
- Nested bullet lists, headings, `@date` / `@time`, barcodes, QR, images
59
- Print via USB-direct, Windows spooler, or serial (baud probed)
59
- Print via USB-direct, Windows spooler, serial (baud probed), or optional LAN TCP 9100
60
60
- In-app **Help** tab (from [docs/HELP.md](docs/HELP.md))
61
61
62
62
## Documentation
@@ -1,6 +1,6 @@1
# posprint1
# posprint2
2
3
Cross-platform designer for POS (point-of-sale) receipt documents. Edit templates in a markdown-like syntax, preview output live, substitute runtime parameters, and print via raw ESC/POS (USB printer-class, Windows spooler, or USB-serial).3
Cross-platform designer for POS (point-of-sale) receipt documents. Edit templates in a markdown-like syntax, preview output live, substitute runtime parameters, and print via raw ESC/POS (USB printer-class, Windows spooler, USB-serial, or optional LAN TCP 9100).4
4
5
**Target platforms:** Windows and Linux (x64).5
**Target platforms:** Windows and Linux (x64).6
6
@@ -56,7 +56,7 @@ Tag a version (e.g. `0.4.0`) to trigger release builds. If AUR publishing is con56
- Parameter tokens: `${Name}` (text) and `$[Name]` (bool checkbox) via print dialog and CLI `--set`56
- Parameter tokens: `${Name}` (text) and `$[Name]` (bool checkbox) via print dialog and CLI `--set`57
- Inline ASCII checkboxes (`[]` / `[ ]` / `[x]`) — CP437-safe on thermal printers57
- Inline ASCII checkboxes (`[]` / `[ ]` / `[x]`) — CP437-safe on thermal printers58
- Nested bullet lists, headings, `@date` / `@time`, barcodes, QR, images58
- Nested bullet lists, headings, `@date` / `@time`, barcodes, QR, images59
- Print via USB-direct, Windows spooler, or serial (baud probed)59
- Print via USB-direct, Windows spooler, serial (baud probed), or optional LAN TCP 910060
- In-app **Help** tab (from [docs/HELP.md](docs/HELP.md))60
- In-app **Help** tab (from [docs/HELP.md](docs/HELP.md))61
61
62
## Documentation62
## Documentation@@ -20,7 +20,7 @@ posprint link receipt.pos
20
20
21
21
## Rules
22
22
23
- **`--printer` / `-p`** (required): serial device path (e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`), or another printer id accepted by discovery.
23
- **`--printer` / `-p`** (required): serial device path (e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`), LAN `host` / `host:9100`, or another printer id accepted by discovery.
24
24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.
25
25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).
26
26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.
@@ -20,7 +20,7 @@ posprint link receipt.pos20
20
21
## Rules21
## Rules22
22
23
- **`--printer` / `-p`** (required): serial device path (e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`), or another printer id accepted by discovery.23
- **`--printer` / `-p`** (required): serial device path (e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`), LAN `host` / `host:9100`, or another printer id accepted by discovery.24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.@@ -20,7 +20,7 @@ posprint link receipt.pos
20
20
21
21
## Rules
22
22
23
- **`--printer` / `-p`** (required): serial port (`COM3`), or a Windows printer queue name for spooler printing.
23
- **`--printer` / `-p`** (required): serial port (`COM3`), a Windows printer queue name for spooler printing, or LAN `host` / `host:9100`.
24
24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.
25
25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).
26
26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.
@@ -20,7 +20,7 @@ posprint link receipt.pos20
20
21
## Rules21
## Rules22
22
23
- **`--printer` / `-p`** (required): serial port (`COM3`), or a Windows printer queue name for spooler printing.23
- **`--printer` / `-p`** (required): serial port (`COM3`), a Windows printer queue name for spooler printing, or LAN `host` / `host:9100`.24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.24
- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` or `$[Name]` in the template.25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).25
- Checkbox params (`$[Name]`): use `true`/`false` (also `1`/`0`, `yes`/`no`).26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.26
- If any text `${Name}` is missing or empty, or a `$[Name]` is omitted / not a boolean, the command **fails**.