code wiki / (root) / nx_printer_dump.nx

nx_printer_dump.nx

buildroot/runtime/nx_printer_dump.nx

5328 B130 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind tooltopic printer
docsdependenciesstructsconstsfunctions

about

nx_printer_dump.nx -- full-transparency IPP attribute dumper. Queries a printer and decodes EVERY attribute it reports (name, type, value), 1setOf values listed individually. This is both a useful sovereign tool ("show me everything, no vendor filtering") and the schema-first grounding for the R4 waste layer: it reveals the printer's real marker-*/sides-*/print-quality attributes. READ-ONLY -> never-brick. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_ipp_codec.nx nx_ipp_transport.nx nx_printer_dump.nx

imports: nx_syscalls.nxnx_ipp_codec.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

main sys_mmap p sys_write

structs

none

consts

10const K_MAGIC_262144: i64 = 262144

functions

12func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: print_valuedumpmain calls 1: sys_write
13func pn(v: i64) -> i64
called by 1: print_value calls 2: sys_writesys_mmap
23func phex2(v: i64) -> i64
called by 1: print_value calls 1: sys_write
30func group_label(tag: i64) -> *u8
called by 1: dump
38func is_string_tag(tag: i64) -> i64
called by 1: print_value
50func print_value(body: *u8, tag: i64, val_off: i64, vlen: i64) -> i64
64func dump(body: *u8, n: i64) -> i64
109func main() -> i64
calls 2: sys_mmapp