beautypg.com

Citizen Systems iDP3420 User Manual

Page 100

background image

iDP3420/3421/3423 User’s Manual

84

CITIZEN

*ETX-STX Mode

STX/ETX Mode Start

Sends ENQ

Receives Status

Data Buffer Empty ?

Sends STX

Odd Parity Check ?

Sets Test Byte To
FFH

Sets Test Byte To
00

Exclusive ORs Test Byte
and Sent Data

Test Byte

Sends Data to Printer

Last Data in 1 Block ?

1

1

NO

YES

YES

NO

YES

Receives Status

Receives Check Byte

Sends ETX

STX-ETX
Mode End

NO

YES

Status Error ?

Sends ENQ

Check Byte

= Test Byte ?

YES

NO

YES

(Print)

Sends CAN

STX-ETX Mode Data
Block Ready to Send ?

NO

RET

NO