BlueGit

timfa posprint

Files

posprint / scripts / test-noconfirm / README.md

README.md

README.md 497 B Download Raw

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).
4The 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"
11Write-Output $url
12Start-Process ".\target\release\posprint.exe" $url
13```
14
15With a connected printer that was used successfully before, print should start without confirmation inside posprint.