nx_printers_render.nx
buildroot/runtime/nx_printers_render.nx
about
nx_printers_render.nx -- render the full honest printer audit as an HTML page (the standing UI law:
every capability gets a live UI). PURE emitter: takes a parsed IPP Get-Printer-Attributes response and
composes the status (nx_printer_health) + security (nx_printer_security) + waste (nx_printer_waste)
verdicts into a styled, self-contained HTML page. No syscalls -> never-brick. Read-only status = safe to
publish (controls/sensitive actions stay operator-only per the UI law).
genealogy_id: project-printer-management-ipp-sclass-2026-06-20 ; license_tier: ORIGINAL
dependencies 4 imports · 2 importers
imports: nx_ipp_codec.nxnx_printer_health.nxnx_printer_security.nxnx_printer_waste.nx
imported by: nx_printers_page.nxnx_printers_render_test.nx
structs
| none |
consts
| none |
functions
| 13 | func nx_pr_h(out: *u8, off: i64, s: *u8) -> i64 |
| 19 | func nx_pr_hi(out: *u8, off: i64, v: i64) -> i64 called by 1: nx_printers_render |
| 32 | func nx_pr_attr(out: *u8, off: i64, body: *u8, n: i64, name: *u8, sc3: *i64) -> i64 |
| 43 | func nx_pr_canprint(v: i64) -> *u8 called by 1: nx_printers_render |
| 49 | func nx_pr_canclass(v: i64) -> *u8 called by 1: nx_printers_render |
| 54 | func nx_pr_secname(v: i64) -> *u8 called by 1: nx_printers_render |
| 60 | func nx_pr_sevname(s: i64) -> *u8 called by 1: nx_pr_reasons |
| 68 | func nx_pr_reasons(out: *u8, off: i64, body: *u8, n: i64, pstate: i64) -> i64 called by 1: nx_printers_render calls 5: nx_ipp_get_u16nx_ipp_name_eqnx_ph_reason_severitynx_pr_hnx_pr_sevname |
| 119 | func nx_printers_render(out: *u8, body: *u8, n: i64, scratch: *i64, toner_bp: i64, toner_pages: i64) -> i64 called by 2: mainmain calls 10: nx_printer_diagnosenx_printer_securitynx_printer_wastenx_pr_hnx_pr_attrnx_pr_canclass+4 |