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 21h Function 5Eh Subfunction 02h
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   5Eh     Subfunction:   02h
 
  Title:       Set Printer Setup String [Version 3.1+]
 
  See also:    Get Printer Setup String
 
  Description:
 
     Specifies a string to be sent in front of all files directed to a
     particular network printer, allowing users at different network
     nodes to specify individualized operating modes on the same
     printer. This function call is only available when Microsoft
     Networks is running. The redirection list index passed in register
     BX is obtained with Function 5Fh Subfunction 02h (Get Redirection
     List Entry).
 
     Input                           Output
 
     AH = 5Eh                        If function successful
     AL = 02h                          Carry flag: clear
     BX = Redirection list index
     CX = Length of setup string     If function unsuccessful
     DS:SI = segment:offset of         Carry flag: set
             setup string              AX = Error code (01h)
                                       See: Error codes
                                    -♦-