Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BIOS ref. - <b>int 17h, 02h get printer status</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 17h, 02h            Get Printer Status

    Returns status information about the specified parallel printer.

        Entry   AH = 02h
                DX = Parallel printer number (0 = LPT1, 1 = LPT2, etc.)

        Return  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