P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template 2.0 Command Reference
- 74 -
8. Setting and Retrieving Command Details
ESC iXi1 Retrieve command mode setting
ASCII: ESC i X i 1 00h 00h
Hexadecimal: 1B 69 58 69 31 00 00
Parameters
None
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: ESC/P mode
01h: Raster mode
03h: P-touch Template mode
04h: CPCL Page Print mode
05h: CPCL Line Print mode
06h: EPL emulation mode
07h: DPL emulation 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 01h