Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Int 2FH Function 01H
◄Summary► ◄Notes► ◄Back►
──────────────────────────────────────────────────────────────────────────────
▀ The packet passed to Subfunction 01H consists of five bytes. The first
byte contains the level, which should be 00H for MS-DOS versions 2 and 3.
The following four bytes contain the segment:offset of an ASCIIZ path-
name, which may not include wildcard characters. If the specified file
exists, it is added to the print queue.
▀ The * and ? wildcard characters may be included in a pathname passed to
Subfunction 02H, making it possible to delete multiple files from the
print queue with one call.
▀ The address returned by Subfunction 04H points to a list of 64-byte en-
tries, each containing an ASCIIZ pathname. The first pathname in the
list is the file currently being printed. The last entry in the list
is a null string (a single 00H byte).
-♦-