Brother RJ-3150 Guia De Referência

Página de 124
P-touch Template 2.0 Command Reference 
 
- 79 - 
7. Control Command Details 
ESC iXP1  Retrieve print start command setting text string 
ASCII: 
ESC    i 
n1 
n2 
Decimal: 
27 
105  88  80 
49  nd1  nd2 
Hexadecimal:  1B 
69 
58  50 
31  nh1  nh2 
Parameters 
nh1: 00h (Fixed) 
nh2: 00h (Fixed) 
Description 
  Retrieves the text string specified for the print start command. 
  3- to 22-byte data is returned from the printer. (Varies depending on the length of the text string) 
[1,2]: 
nh1 nh2 (number of characters) nh1+(nh2*256) 
[3 and later]:  Text string 
  The retrieved value is a value specified by a static command. 
Example 
 
When the text string for the print start command is specified as “START”: 
Code: ESC i X P 1 00h 00h 
 
(1Bh 69h 58h 50h 31h 00h 00h) 
Returned value: 05h 00h S T A R T 
 
(05h 00h 53h 54h 41h 52h 54h)