P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template Command Reference
- 59 -
7. Control Command Details
ESC iXa2 Specify non-printed text strings
ASCII: ESC i X a 2 n1 n2 n3 data
Decimal: 27 105 88 97 50 nd1 nd2 nd3 datad
Hexadecimal: 1B 69 58 61 32 nh1 nh2 nh3 datah
Parameters
01h≤nh1≤15h
nh2: 00h (Fixed)
nh3: 01h (Fixed)
00h≤datah≤FFh
Description
Specifies the non-printed text string.
nh1+(nh2*256):
Length of the text string (0 to 20) + 1
data:
Text string (The maximum number of characters that can be set is 20 characters
(bytes).)
This command is a static command.
Remarks
Invalid if more than 20 characters have been specified
Example
To specify the non-printed text string as “ABCD”:
Since the text string contains four characters, nh1=05h and nh2=00h. Therefore, the command will be as
follows.
ESC i X a 2 05h 00h 01h A B C D
(1Bh 69h 58h 61h 32h 05h 00h 01h 41h 42h 43h 44h)