beautypg.com

Brother QL-720NW User Manual

Page 12

background image

ESC/P Command Reference

- 6 -

2. Examples of Using ESC/P Commands

Step 2: Specify the page length.

2 inches

*The page length does not include the margins.

For the margins, subtract 6 mm (72 dots) from the page length.

nL

nH

mL

mH

ESC ( C 02h 00h 10h 02h

Entered command

2 inches=600 dots

600 dots–

72 dots

=528 dots

Page length=mL+mH*256=528

==

2

02h

==

16

10h

Step 3: Specify the horizontal position.

0.5 inch

0.5 inch=150 dots

Horizontal position=n1+n2*256=150

ESC $ 96h 00h

n1 n2

Entered command

= =

150

96h

0

00h

= =