-67-
7.4.5
Control Code Setting (Control Code)
This setting selects a control code to be used in TPCL mode.
・
AUTO
Automatic selection between {.|.} method and ESC.LF.NUL method
・
{,|,}
/
{,|,}
{.|.} method
・
ESC,LF,NUL
/
ESC,LF,NUL
ESC.LF.NUL method
Default value: AUTO (Automatic selection)
(1) AUTO
As an interface command control code, [ESC](1BH),[LF](0AH),[NUL](00H) or {(7BH),|(7CH),}(7DH) is
automatically selected. After the power is turned on, the data from the host is checked for [ESC] and {, and
the data sent first is assumed to be a control code.
For example, if [ESC] is sent first, [ESC].[LF].[NUL] is a control code, and if { is sent first, {.|.} is a control code.
The control code is selected for each command.
If the first command ends with [ESC]~ [LF][NUL] and is followed by [ESC], the control code is
[ESC].[LF].[NUL]. If { is sent first, the control code for the next command is {.|.}.
When the control code is {.|.}, the data of 00H to 1FH in { ~ | } is ignored.
However, the data of 00H to 1FH becomes valid while processing the graphic command or writable character
command in hexadecimal mode. When {.|.} is a control code, {.|.} cannot be used in the data of the Data
command or Display command.
Power ON
Reads received data.
<Is the received data
ESC?>
Assume a control code to
be ESC.LF.NUL.
Command processing
<Is the received
data { ?>
Assume a control
code to be {.|.}.
Discards of read
data.
Yes
No
Yes
No