code wiki / (root) / nx_print_send.nx

nx_print_send.nx

buildroot/runtime/nx_print_send.nx

3210 B64 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind tooltopic print
docsdependenciesstructsconstsfunctions

about

nx_print_send.nx -- PHYSICAL Print-Job: submit the sovereign .urf artifact to the real Brother and print a page. This is OUTWARD-FACING + consumes paper/toner -> run ONLY on explicit operator consent. Reads knowledge/fetched/nishi_test.urf, builds a Print-Job (image/urf), POSTs it, reports job-id/state. Still never-brick (#26): it submits a normal print job; it writes no firmware/NVRAM. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_ipp_codec.nx nx_ipp_transport.nx nx_ipp_submit.nx nx_print_send.nx

imports: nx_syscalls.nxnx_ipp_codec.nxnx_ipp_transport.nxnx_ipp_submit.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main p sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_exit pn sys_write ↻ sys_mmap ↻ nx_ipt_verdict_name nx_ipp_status nx_ipp_get_u16 phex16 sys_write ↻ nx_ipp_get_enum nx_ipp_find nx_ipp_strlen nx_ipp_get_u16 ↻ nx_ipp_name_eq nx_ipp_get_u32

structs

none

consts

10const K_MAGIC_4096: i64 = 4096
11const K_MAGIC_131072: i64 = 131072

functions

13func 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 1: main calls 1: sys_write
14func pn(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
23func phex16(v: i64) -> i64
called by 1: main calls 1: sys_write
29func main() -> i64