fix: printer settings (beep off, never power off) not reliably applied #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The web UI applies
BEEP \x00(beep off) andTIMER \x00(never auto power off) once, on the first RFCOMM link per server process. Two problems:Fix: push the desired settings (beep off, timer never) on every status query, not just first link. The settings commands have no response, so this is cheap and idempotent. Also verify via
CONFIG?after applying and surface the effective values in/status.Note for the fix: the settings commands require a space before the raw-byte argument —
BEEP \x00\r\n/TIMER \x00\r\n, exactly asp21_print.pysends them (f"BEEP {chr(0)}"). Without the space the parser misreads the argument (observed: timer byte corrupted to0xff). The README's settings table should be updated to show the space (see the docs issue).Reported 2026-10-18 during web UI development (branch
webui).