INT 2fH 0101H: Submit File to Spooler
Compatibility: 3.0+
Expects: AX 0101H
DS:DX addr of an AddFileRec (see below) describing file to enqueue
──────────────────────────────────────────────────────────────────
Returns: AX error code (if CF=CY)
──────────────────────────────────────────────────────────────────
Info: Enqueues a file for background printing (only if PRINT.EXE is
resident in memory.
DS:DX is the address of a data packet formatted as follows:
AddFileRec
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 1 bLevel must be 00H)
+1 4 pfszFilespec Far address of an ASCIIZ▲ filespec
of the file to print. No wildcards.
5 size of an AddFileRec
Note: A Microsoft Technote warns users of this fn to use only "well-
formed" (fully-qualified) filespecs of files that already exist.
PRINT does not perform error checking.
See Also: INT 2fH 01xxH: DOS Print Spooler Functions
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-