INT 2fH 0104H: Hold All Jobs and Get Status
Compatibility: 3.0+
Expects: AX 0104H
──────────────────────────────────────────────────────────────────
Returns: DX error count (consecutive errors Print had while trying to
output last character)
DS:SI addr of a series of 64-byte filespecs naming enqueued files
──────────────────────────────────────────────────────────────────
Info: Stops the current print job and returns the address of the print
queue (only if PRINT.EXE is resident in memory.
DS:SI is the far address of a series of 64-byte entries that identify
the files that are in the queue. Each entry is an ASCIIZ▲ string
of the drive, path, and filename, followed by a variable number
of unused bytes (to pad the record to 64).
The first entry is the name of the file that is currently being
printed. The end of the queue is identified if the first byte in
the entry is 00h.
Notes: Printing is suspended until you use INT 2fH 0105H (restart
queue).
Don't modify the queue directly. Use INT 2fH fns to add and
delete files.
See Also: INT 2fH 01xxH: DOS Print Spooler Functions
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-