Sanyo MBC-550 Series User Manual page 262

Table of Contents

Advertisement

Interrupt 17
Printer I/O
This routine provides communication with the
printer.
= 0 Print the character in (AL) on return, AH
= 1 If character could not be printed
(time out)
Other bits set as n normal status call
= 1 Initialize the printer port
Returns with (AH) set with printer satatus
= 2 Read the printer status into (AH)
(AH)
(AH)
(AH)
5
4
0
j
j
I—time out
I
1—1 = selected
1—1 = out of paper
1 — 1 = busy
=
printer to be used (0,1,2) corresponding
to actual values in printer base area
(DX)
Data area printer base contains the base address of the
printer card(s) available (located at beginning of data
segment, 408H absolute, 3 words)
AH is modified
All other unchanged
Registers
5—21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents