beautypg.com

Esc ixr1, Retrieve print start received character count – Brother QL-720NW User Manual

Page 74

background image

P-touch Template Command Reference

- 69 -

7. Control Command Details

ESC iXr1 Retrieve print start received character count

ASCII: ESC

i

X

r

1

n1

n2

Decimal: 27

105

88

114

49

n1

n2

Hexadecimal:

1B 69 58 72 31 n1 n2

Parameters

n1: 00h (Fixed)

n2: 00h (Fixed)

Description

Retrieves the number of characters specified to be received in order to start printing.

4-byte data is returned from the printer.

[1]: 02h

(Fixed)

[2]: 00h

(Fixed)

[3,4]: n3 n4 settings

n3+(n4*256): Print start received character count

The retrieved value is a value specified by a static command.

Example

For a print start received character count of 500 characters:

Code: ESC i X r 1 00h 00h

(1Bh 69h 58h 72h 31h 00h 00h)

Returned value: 02h 00h F4h 01h (244+1*256=F4h+01h*256=500 characters)