Line Printer - Tandy 1000 SL Technical Reference Manual

Table of Contents

Advertisement

Sofhvare
Line Printer
These routines provide an interface to the parallel line printer.
This device is labeled " P R N in the device list maintained by the
operating system.
Software Interrupts
17 hex (23 dec)
Function Summary
AH
=
0: Print character
AH
=
1 : Reset printer port
AH
=
2: Get current printer status
Function Descriptions
Print a Character
Entry Conditions
AH
=
0
AL
=
character to print
DX
=
printer to be used (0-2)
Exit Conditions
OAH
=
printer status. See the following "Get Current
Printer Status" (AH
=
2)
(If Bit 0 is set, the character could not be printed
because of a timeout error.)
24.

Advertisement

Chapters

Table of Contents
loading

Table of Contents