en:docs:bios:api:int17:02

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 17H, AH=02H

Version

IBM 5150 and higher

Brief

Return printer port status

Family API

Input

  • AH = 02h
  • DX = printer number (00h-02h)

Return

  • AH = printer status (see #00631)

Macro

INCLUDE BIOS.INC
 
@PrnStatus 0

Notes

  • PRINTFIX from MS-DOS 5.0 hooks this function and always returns AH=90h

Note