INT 17h,  02h (2)        Get Printer Status
 
    Returns status information about the specified parallel printer.
 
       On entry:      AH         02h
                      DX         Parallel printer number (0 = LPT1, 1 = LPT2,
                                 etc.)
 
       Returns:       AH         Printer status
 
  --------------------------------------------------------------------------
 
                         Printer Status (AH)
 
                7 6 5 4 3 2 1 0
                x . . . . . . .      Printer not busy (0=busy)
                . x . . . . . .      Acknowledgement from printer
                . . x . . . . .      Out of paper
                . . . x . . . .      Printer selected
                . . . . x . . .      I/O error
                . . . . . 0 0 .      Not used
                . . . . . . . x      Time-out error

Seealso:



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