P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template Command Reference
- 75 -
7. Control Command Details
ESC iXi1 Retrieve command mode setting
ASCII: ESC i X i 1 n1 n2
Decimal: 27 105 88 105 49 nd1 nd2
Hexadecimal: 1B 69 58 69 31 nh1 nh2
Parameters
nh1: 00h (Fixed)
nh2: 00h (Fixed)
Description
Retrieves the setting for the command mode.
3-byte data is returned from the printer.
[1]:
01h (Fixed)
[2]:
00h (Fixed)
[3]:
Setting
00h: Raster mode
10h: ESC/P Legacy mode
03h: P-touch Template mode
04h: ESC/P Brother mode
The retrieved value is a value specified by a static command.
Example
When the setting is for raster mode:
Code: ESC i X i 1 00h 00h
(1Bh 69h 58h 69h 31h 00h 00h)
Returned value: 01h 00h 00h