Esc ixa1 retrieve non-printed text strings, Esc ixa1, Retrieve non-printed text strings – Brother TD-2120N User Manual
Page 88
P-touch Template 2.0 Command Reference
- 82 -
7. Control Command Details
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 printer. (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 printer.
Code: ESC i X a 1 01h 00h 01h
(1Bh 69h 58h 61h 31h 01h 00h 01h)
Returned value: 04h 00h A B C D
(04h 00h 41h 42h 43h 44h)