P-touch Template Manual/ Command Reference

Table Of Contents
59
ESC iXa1 Retrieve non-printed text strings
[ASCII] ESC i X a 1 n1 n2 n3
[Decimal] 27 105 88 97 49 nd1 nd2 nd3
[Hexadecimal] 1B 69 58 61 31 nh1 nh2 nh3
[Parameters] nh1: 01h (fixed)
nh2: 00h (fixed)
nh3: 01h (fixed)
[Description]
Retrieves the specified non-printed text string.
2- to 22-byte data is returned from the machine. (Varies depending on the length of the text
string)
[1, 2]: nh1 nh2 (number of characters) nh1 + (nh2*256)
[3 and later]: Text string
The retrieved value is a value specified by a static command.
[Example]
When “ABCD” is specified as the non-printed text string:
The following command is sent to the machine.
ESC i X a 1 01h 00h 01h
(1Bh 69h 58h 61h 31h 01h 00h 01h)
The following is returned from the machine.
04h 00h A B C D (04h 00h 41h 42h 43h 44h)