nx_toner_continue.nx
buildroot/runtime/nx_toner_continue.nx
about
nx_toner_continue.nx -- SOVEREIGN network override for the proprietary toner block. Drives the printer's
OWN web form (POST /general/replacetoner.html, field B5c0: 1=Continue, 2=Stop) to force Continue-mode, so
the printer never hard-stops on aftermarket/low toner. This is a reversible CONFIG TOGGLE via the device's
own validated settings UI -- NOT a firmware/EEPROM/NVRAM write -> never-brick (#26) by construction.
MODE default = 1 (Continue). Applying Continue when already Continue is an idempotent no-op that proves
the network-override capability without changing device state. Sovereign HTTP (reuses transport helpers).
genealogy_id: project-printer-management-ipp-sclass-2026-06-20 ; license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_connect.nxnx_ipp_transport.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 13 | const K_MAGIC_65536: i64 = 65536 |
| 15 | const MODE: i64 = 1 // 1 = Continue (defeat the hard-stop), 2 = Stop (vendor default) |
functions
| 17 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 18 | func pn(v: i64) -> i64 |
| 28 | func main() -> i64 |