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

See also: INT 17h, 00h
See also: INT 17h, 01h

INT 17h, 02h (2) Get Printer Status