Function 05h Print Character

mov dl, OutputChar ;character to print

mov ah, 05h ;Print Character

int 21h

Print Character (Function 05h) sends a character to the standard printer device.

This function has been superseded by Write File or Device (Function 40h).

Parameter

OutputChar

Specifies the ASCII value of the character to be printed.

Return Value

This function has no return value.

Comment

If the printer device is busy, this function waits until the device is ready.

See Also

Function 40h Write File or Device