Specifications

TH230/TH230+ Programmers Guide
65
ESC [ ! t
Function:
Set control point
Code ASCII: ESC [ ! t n
L
n
H
Code HEX: 0x1B 0x5B 0x21 0x74 n
L
n
H
Range:
0 (n
L
+ n
H
* 256) 0xFFFF
Description: The printer sends the answer to a control point as soon as all mechanical
activities are finished.
Notes:
The answer which is sent to the host consists of the complete escape
command (ESC [ ! t n
L
n
H
).
(n
L
+ n
H
* 256) is a value which is defined by the application program.
Hint: Normally the application or the software driver sends the “set
control point” command after linefeed commands. However, if the “set
control point” command is sent before the linefeed command, the
printer also sends the control point answer before the line is printed
completely.
Two examples with (n
L
+ n
H
* 256) = 0x1234:
Correct control point answer to host is sent after all mechanical
activities:
A B C D E 0x0A 0x1B 0x5B 0x21 0x74 0x34 0x12
Wrong control point answer to host is sent before mechanical
activities are finished:
A B C D E 0x1B 0x5B 0x21 0x74 0x34 0x12 0x0A.
In Error conditions by opening the cover or switching of the Power can
be correct control points send back bad the lines are not printed.