Function 5E02h (94-2)    Set Printer Setup                          ò DOS 3.1
 
    Specifies the setup string to be put at the front of files destined
    for a printer on the IBM PC Network or Microsoft Network.
 
       On entry:      AH         5Eh
                      AL         02h
                      BX         Redirection list index
                      CX         Length of setup string (maximum 64 bytes)
                      DS:SI      Pointer to memory buffer containing the
                                 printer setup string
 
       Returns:       AX         Error code, if CF is set
 
       Error codes:   1          Network not loaded
 
                      Call Function 59h for extended error code information.
 
  --------------------------------------------------------------------------
 
    This subfunction of function 5Eh allows individual users on a network
    to specify their own setup strings for a shared printer. This setup
    string will be prefixed to all files sent to the printer from this
    node.
 
       Notes:         This function is called with a redirection list
                      index in BX; this index value may be determined by
                      calling function 5F02h (Get Redirection List Entry).
 
                      The setup string must be no longer than 64 bytes.
 
                      This function is available only in DOS version 3.1
                      and later, and requires that the IBM PC Network or
                      Microsoft Networks program be running.
 
       Important:     Since the redirection index value may change between
                      the time the redirection list is scanned and this
                      function call is issued, you should call this
                      function immediately after calling Function 5F02h,
                      Get Redirection List Entry. (A call to function
                      5F03h (Redirect Device) or 5F04h (Cancel
                      Redirection) could cause the redirection list entry
                      to change.)

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster