code wiki / (root) / nx_ipp_submit.nx

nx_ipp_submit.nx

buildroot/runtime/nx_ipp_submit.nx

5860 B112 linesdepth 1pulls 1 transitivereach 9 importersview sourcekind librarytopic ipp
docsdependenciesstructsconstsfunctions

about

nx_ipp_submit.nx -- build IPP job-submission requests (Validate-Job / Print-Job) -- R-RASTER-1. Validate-Job (op 0x0004): asks the printer "would you accept this job?" and prints NOTHING -- the SAFE way to prove the submission path live (no paper, no toner). Returns successful-ok if it would accept. Print-Job (op 0x0002): the real thing -- the document data (e.g. our URF page) rides in the HTTP body immediately after the IPP request's end-of-attributes-tag (RFC 8011 sec 4.2.1). Operation attributes (order matters per RFC 8011: charset first, natural-language second): attributes-charset, attributes-natural-language, printer-uri, requesting-user-name, job-name, document-format. All built with the verified R0 codec. NEVER-BRICK (#26): pure request builder; no syscalls, no firmware writes. Sovereign (imports nx_ipp_codec). genealogy_id: project-printer-management-ipp-sclass-2026-06-20 ; license_tier: ORIGINAL

dependencies 1 imports · 7 importers

nx_ipp_codec.nx nx_ipp_submit.nx nx_doc_print.nx nx_img_print.nx nx_ipp_submit_test.nx nx_job_poll.nx nx_print_send.nx nx_print_validate.nx nx_printer_exceed.nx

imports: nx_ipp_codec.nx

imported by: nx_doc_print.nxnx_img_print.nxnx_ipp_submit_test.nxnx_job_poll.nxnx_print_send.nxnx_print_validate.nxnx_printer_exceed.nx

structs

none

consts

none

functions

17func nx_sub_puti(buf: *u8, off: i64, v: i64) -> i64
30func nx_sub_uri(uri: *u8, a: i64, b: i64, c: i64, d: i64, path: *u8) -> i64
46func nx_sub_op_attrs(req: *u8, off: i64, a: i64, b: i64, c: i64, d: i64,
61func nx_ipp_build_validate_job(req: *u8, a: i64, b: i64, c: i64, d: i64,
70func nx_ipp_build_get_job_attrs(req: *u8, a: i64, b: i64, c: i64, d: i64,
86func nx_ipp_build_print_job(req: *u8, a: i64, b: i64, c: i64, d: i64,
96func nx_sub_job_attrs_sides(req: *u8, off: i64, sides: *u8, slen: i64) -> i64
104func nx_ipp_build_print_job_sides(req: *u8, a: i64, b: i64, c: i64, d: i64,