Brother RJ-3150 Guia De Referência
![Brother](https://files.manualsbrain.com/attachments/8c662d2d9dbf4f824dfb46b9a1ababe38c435c2d/common/fit/150/50/d9563199756797e8650c01d5929471667ad930bd23805d8d5e013c9eee84/brand_logo.png)
ESC/P Command Reference
- 7 -
2. Examples of Using ESC/P Commands
Step 2: Specify the page length.
ESC (C
Specify page length
ASCII:
ESC
(
C
nL
nH
mL mH
Decimal:
27
40
67
nL
nH
mL mH
Hexadecimal: 1B
28
43
nL
nH
mL mH
Parameters
nL=2, nH=0
0
≤(mL+mH*256)<8192(for 203dpi printers)
0
≤(mL+mH*256)<12000(for 300dpi printers)
Description
Specifies the page length.
* A page length 0 indicates the Auto setting.
The unit is 1 dot.
Page length=mL+mH*256
The current paper position is the TOF.
The top and bottom margins are canceled with ESC ( c.
All previously entered text is cleared.
A standard unit is not used.
This command is available only with continuous length tape.
5inches
*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 F7h 03h
ESC i L 0x01
Entered command
5 inches=1015 dots
1015 dots
–
48 dots
=967 dots
Page length=mL+mH*256=967
=
=
3
03h
=
=
247
F7h
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
ESC i L 0x01
nL
nH
Entered command
=
=
203
CBh
0
00h
=
=
Example: A case 203dpi printer is used