2.5.2 Reference flowchart
See the flow chart below for programming on the host side.
.
Power
On
Set the print
data
Send ENQ
Loop
Timeout?
No
Display the ID number
Display the print number
Display the status
Error detected?
No
YES
Offline?
No
YES
Buffer near full?
No
Cancel
?
No
Send the print data
Loop
Timeout?
No
*When detecting an error in the printer, make sure to send the subsequent print data after releasing the error by sending
ENQ.
YES
Display the status
*
YES
Cancel
?
YES
YES
Send CAN
Loop
YES
Timeout?
YES
No
ACK?
1
YES
Loop
Status receive?
No
No
Timeout?
YES
Set timeout
1
RETUR
N
No
No
506
YES
Set status