Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>int 17h, 02h (2) get printer status</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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 INT 17h, 01h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson