beautypg.com

Esc ixp1, Retrieve print start command setting text string – Brother QL-720NW User Manual

Page 73

background image

P-touch Template Command Reference

- 68 -

7. Control Command Details

ESC iXP1 Retrieve print start command setting text string

ASCII: ESC

i

X

P

1

n1

n2

Decimal:

27 105

88 80 49 n1 n2

Hexadecimal:

1B 69 58 50 31 n1 n2

Parameters

n1: 00h (Fixed)

n2: 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]:

n1 n2 (number of characters) n1+(n2*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)