Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
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►                                   ◄Up► ◄Contents► ◄Index► ◄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.0 and 3.0. 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 path name
     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 entries, each containing an ASCIIZ path name. 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).
                                    -♦-