P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template Command Reference
- 56 -
7. Control Command Details
ESC iXP2 Specify print start command text string
ASCII: ESC i X P 2 n1 n2 data
Decimal: 27 105 88 80 50 nd1 nd2 datad
Hexadecimal: 1B 69 58 50 32 nh1 nh2 datah
Parameters
01h≤nh1≤14h
nh2: 00h (Fixed)
00h≤datah≤FFh
Description
Specifies the text string for the print start command.
nh1+(nh2*256):
Length of the text string (can be set between 1 and 20)
data:
Text string (The maximum number of characters that can be set is 20 characters
(bytes).)
The default text string for the print start command is “^FF”.
This command is a static command.
Remarks
Invalid if more than 20 characters have been specified
Example
To change the text string for the print start command to “START”:
Since the text string to be specified (data), “START”, contains 5 characters, nh1=05h and nh2=00h.
Therefore, the command will be as follows.
ESC i X P 2 05h 00h S T A R T
(1Bh 69h 58h 50h 32h 05h 00h 53h 54h 41h 52h 54h)