Brother TD-2120N User Manual
Page 13
Advertising

ESC/P Command Reference
- 7 -
2. Examples of Using ESC/P Commands
Step 2: Specify the page length.
4 inches
*The page length does not include the margins.
For the margins, subtract 6 mm (48 dots) from the page length.
nL
nH
mL
mH
ESC ( C 02h 00h FCh 02h
Entered command
4 inches=812 dots
812 dots–
48 dots
=764 dots
Page length=mL+mH*256=764
==
2
02h
==
252
FCh
Example: A case 203dpi printer is used
Step 3: Specify the horizontal position.
1 inch
1 inch=203 dots
Horizontal position=n1+n2*256=203
ESC $ CBh 00h
nL nH
Entered command
= =
203
CBh
0
00h
= =
Example: A case 203dpi printer is used
Advertising