Esc ixa1 retrieve non-printed text strings, Esc ixa1, Retrieve non-printed text strings – Brother QL-720NW User Manual
Page 76

P-touch Template Command Reference
- 71 -
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 n1 n2 n3
Hexadecimal:
1B 69 58 61 31 n1 n2 n3
Parameters
n1: 01h (Fixed)
n2: 00h (Fixed)
n3: 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]:
n1 n2 (number of characters) n1+(n2*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)