P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template Command Reference
- 84 -
7. Control Command Details
ESC iXh1 Retrieve rotated print setting
ASCII: ESC i X h 1 n1 n2
Decimal: 27 105 88 104 49 nd1 nd2
Hexadecimal: 1B 69 58 68 31 nh1 nh2
Parameters
nh1: 00h (Fixed)
nh2: 00h (Fixed)
Description
Retrieve rotated print setting.
3-byte data is returned from the printer.
[1]:
01h (Fixed)
[2]:
00h (Fixed)
[3]:
nh3 Settings
The retrieved value is a value specified by a static command.
Example
When the rotate setting is set to 180 degrees rotation:
Code: ESC i X h 1 00h 00h
(1Bh 69h 58h 68h 31h 00h 00h)
Returned value: 01h 00h 01h