Brother RJ-3050 Guida Di Riferimento

Pagina di 124
P-touch Template 2.0 Command Reference 
 
- 83 - 
7. Control Command Details 
ESC iXi1 
Retrieve command mode setting 
ASCII: 
ESC    i 
  i 
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: ESC/P mode 
01h: Raster mode 
03h: P-touch Template mode 
04h: CPCL Page Print mode 
05h: CPCL Line Print 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