Brother International RJ-3050Ai ESC/ P Command Reference - Page 14

ESC V 02h 00h, ESC k L 0Bh

Page 14 highlights

Step 4: Specify the vertical position. ESC/P Command Reference 1 inch = = = = 1 inch=203 dots Vertical position=n1+n2*256=203 109 0 CBh 00h Entered command nL nH mL mH ESC ( V 02h 00h CBh 00h ExamEpSleC: Ai Lca0sxe01203dpi 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 Font type: Helsinki (proportional pitch) n=0 Gothic (proportional pitch) n=1 Letter Gothic Bold (fixed pitch) n=8 Gothic (proportional pitch) Horizontal position 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 n n=11=0Bh ESC k L 0Bh - 8 2. Examples of Using ESC/P Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

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
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)