Brother RJ-3150 Guía De Referencia
ESC/P Command Reference
- 8 -
2. Examples of Using ESC/P Commands
Step 4: Specify the vertical position.
1 inch
1 inch=203 dots
Vertical position=n1+n2*256=203
=
=
109
CBh
=
=
0
00h
ESC ( V 02h 00h CBh 00h
ESC i L 0x01
nL
nH
mL
mH
Entered command
Example: A case 203dpi printer is used
Step 5: Select the font type.
ESC k
Select font
ASCII:
ESC
k
n
Decimal:
27
107
n
Hexadecimal: 1B
6B
n
Parameters
0≤n≤4, 9≤n≤11
Description
Selects the font.
Bitmap Fonts
Outline Fonts
n=0
Gothic (proportional pitch)
n=8
Gothic (proportional pitch)
n=1
Letter Gothic Bold (fixed pitch)
n=9
Letter Gothic (fixed pitch)
n=2
Reserved
n=10
Brussels (proportional pitch)
n=3
Helsinki (proportional pitch)
n=11
Helsinki (proportional pitch)
n=4
Reserved
The default value is n=1 (Letter Gothic Bold (fixed pitch)).
If the font is changed from a bitmap font to outline font, the character size is changed to the default setting
(28 dots).
If the font is changed from an outline font to bitmap font, the character size is changed to default setting
(24 dots).
Entered command
ESC k L 0Bh
n
n=11=0Bh
Font type:
Helsinki
(proportional pitch)
Horizontal position