Int 17H, Printer Control; Use; Entry; Exit - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

28. INT 17H, Printer Control

The MP2500 does not have a parallel printer port - all printer access will be
directed via the BIOS to COM2.
The MP2500 supports the standard printer services

Use

Printer output and status.

Entry

AH selects the function required and DX selects the printer number, as
shown.

Exit

The AH register returns the printer status. Individual bits have the following
significance when set:
Bit
Significance
7
Printer ready
6
Printer acknowledge
5
Out of paper
4
Printer selected
3
I/O error
2
Not used
1
Not used
0
Timeout
Note that the only useful status bit is D0 which returns 1 if a comms error in
encountered. (A serial interface cannot return the same amount of status
information as a parallel interface.)
All other registers are preserved. The flags are corrupted.
Chapter 28: INT 17H, Printer Control
Returns
1
1
0
1
0
0
0
0 or 1
279

Advertisement

Table of Contents
loading

Table of Contents