Int 17H [PC] [AT] [PS/2] Function 02H Get printer status

Returns the current status of the specified parallel printer interface port.

Call with:

AH = 02H

DX = printer number (0 = LPT1, 1 = LPT2, 2 = LPT3)

Returns:

AH = status (see Int 17H Function 00H)