nx_doc_print.nx
buildroot/runtime/nx_doc_print.nx
about
nx_doc_print.nx -- PRINT A REAL DOCUMENT, end to end, 100% sovereign: text -> grayscale page (nx_doc_layout
+ nx_font8x8) -> URF (nx_urf) -> Print-Job (nx_ipp_submit) -> POST (nx_ipp_transport) -> poll job-state,
and record REAL toner consumed (nx_toner_meter/ledger). Outward-facing (consumes paper/toner): operator
approved live printing. never-brick (#26): normal print job, no firmware. license_tier: ORIGINAL
genealogy_id: project-printer-management-ipp-sclass-2026-06-20
dependencies 12 imports · 0 importers
diagram shows first 10 each side; +2 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_font8x8.nxnx_doc_layout.nxnx_doc_to_urf.nxnx_pwg_rle.nxnx_urf.nxnx_ipp_codec.nxnx_ipp_transport.nxnx_ipp_submit.nxnx_toner_meter.nxnx_toner_ledger.nxnx_toner_store.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
| 19 | const K_MAGIC_2550: i64 = 2550 |
| 20 | const K_MAGIC_3300: i64 = 3300 |
| 21 | const K_MAGIC_8192: i64 = 8192 |
| 22 | const K_MAGIC_262144: i64 = 262144 |
| 23 | const K_MAGIC_10000: i64 = 10000 |
| 24 | const K_MAGIC_4096: i64 = 4096 |
| 25 | const K_MAGIC_131072: i64 = 131072 |
| 26 | const K_MAGIC_2048: i64 = 2048 |
| 27 | const K_MAGIC_32768: i64 = 32768 |
| 28 | const K_MAGIC_1500: i64 = 1500 |
functions
| 30 | 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 } |
| 31 | func pn(v: i64) -> i64 |
| 40 | func sapp(buf: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 45 | func write_all(fd: i64, buf: *u8, len: i64) -> i64 |
| 51 | func main() -> i64 |