A Print job is contained within a use of the macro with-print-job, which handles connection to the printer and sets up a graphics port for drawing to the printer.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:25