Esc ixn1 retrieve number of selected template, Esc ixn1, Retrieve number of selected template – Brother TD-2120N User Manual
Page 90
P-touch Template 2.0 Command Reference
- 84 -
7. Control Command Details
ESC iXn1 Retrieve number of selected template
ASCII: ESC
i
X
n
1
n1
n2
Decimal: 27
105
88
110
49
nd1
nd2
Hexadecimal: 1B 69 58 6E 31 nh1 nh2
Parameters
nh1: 00h (Fixed)
nh2: 00h (Fixed)
Description
Retrieves the template number selected from the printer.
3-byte data is returned from the printer.
[1]: 01h
(Fixed)
[2]: 00h
(Fixed)
[3]: Setting
The retrieved value is a value specified by a static command.
Example
When template number 99 is selected:
Code: ESC i X n 1 00h 00h
(1Bh 69h 58h 6Eh 31h 00h 00h)
Returned value: 01h 00h 63h