Local noconfirm test
noconfirm=1 auto-prints once printers are discovered (no referrer verify / trust dialog). The browser’s “Open posprint?” prompt is the user consent gate.
Quick check
$base = cargo run --quiet -- link examples/noconfirm-demo.pos
$url = "$base&noconfirm=1"
Write-Output $url
Start-Process ".\target\release\posprint.exe" $url
With a connected printer that was used successfully before, print should start without confirmation inside posprint.
Source
| 1 | # Local noconfirm test |
| 2 | |
| 3 | `noconfirm=1` auto-prints once printers are discovered (no referrer verify / trust dialog). |
| 4 | The browser’s “Open posprint?” prompt is the user consent gate. |
| 5 | |
| 6 | ## Quick check |
| 7 | |
| 8 | ```powershell |
| 9 | $base = cargo run --quiet -- link examples/noconfirm-demo.pos |
| 10 | $url = "$base&noconfirm=1" |
| 11 | Write-Output $url |
| 12 | Start-Process ".\target\release\posprint.exe" $url |
| 13 | ``` |
| 14 | |
| 15 | With a connected printer that was used successfully before, print should start without confirmation inside posprint. |