TM
Starts the STX- ETX mode
Sends ENQ
Receives status byte
Sends an ENQ signal
Receives status signal
Is the
NO data buffer empty ?
YES
Sends STX signal
Receives a check byte
Is the
status an
error?
Horizontal
NO
parity check
CHAP. 4
TECHN…
YES
Is it
odd parity NO check?
Check byte = test byte?
NO
YES
Set test byte FFH |
| Set test byte 00H |
|
|
|
Acquires the exclusive OR of the content of the test byte and the data to send, then it is used as the content of the test byte
Transmits the data to the printer
NO | Is this | |||
the last data in | ||||
|
| |||
|
| a block ? | ||
|
|
| YES | |
|
|
|
|
YES
Sends CAN
Sends ETX
Ends the STX -
ETX mode
Is there a | NO | |||
data block in the STX- |
|
|
| |
|
|
| ||
ETX mode? |
|
|
| |
|
|
|
| |
YES |
|
|
|
|
|
|
| RET | |
|
|
|
|
|
|
|
|
|
|
4 - 13