en:docs:bios:api:int17:00

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=00H

Version

IBM 5150 and higher

Brief

Print character

Family API

Input

  • AH = 00h
  • AL = character to write
  • DX = printer number (00h-02h)

Return

  • AH = printer status (see #00631)

Macro

INCLUDE BIOS.INC
 
@PrnPrint 0, 'A'

Notes

  • Under PhysTechSoft's PTS ROM-DOS the parallel port can also be accessed as COM5.
  • Some print spoolers trash the BX register on return.
  • Some original IBM BIOSes set more than one printer status bits at a time, while only one of them is correct.

Note