Oki ML591 MICROLINE Reference Manual - Page 89

Table 36: Epson ESC : Command - Fonts for n Values

Page 89 highlights

Parameter n Parameter n is used to specify the font to be used. Table 36: Epson ESC : Command - Fonts for n Values Value of n 0 1 2 3 4 5 Font Roman Swiss Courier (default) Prestige Script OCR-B Value of n 6 7 8 122 124 126 Font OCR-A Orator Orator-S Swiss Bold Letter Gothic Font set on Menu Down Line Load Characters Commands for 24-Pin Printers (Epson) ߜ ML390 Turbo, ML391 Turbo Function Load Custom Characters ASCII ESC & m n1 n2 d0 d1 d2 [data] Dec 27 38 m n1 n2 d0 d1 d2 [data] Hex 1B 26 m n1 n2 d0 d1 d2 [data] ߜ ML590, ML591 Function Load Custom Characters ASCII ESC & NUL m n1 n2 d0 d1 d2 [data] Dec 27 38 0 m n1 n2 d0 d1 d2 [data] Hex 1B 26 00 m n1 n2 d0 d1 d2 [data] Use these commands to begin downloading the character(s) to the printer. Parameter m This parameter selects the available area in RAM. The only available values/locations are m = 0 or m = 128. Parameters n1 n2 These parameters specify the range of characters to be replaced with new ones. Multiple characters must be assigned to adjacent locations. Parameter n1 indicates the first character that will be replaced: range 0 to 127. Parameter n2 indicates the last character that will be replaced: range 1 to 127. Parameters d0 d1 d2 These parameters define the width of the character grid in dots as follows: d0 = width of space before the character d1 = width of the character d2 = width of space after the character Follow these parameters with the data calculated from your grid as shown above in the section "Designing a Custom Character for 24-Pin Printers." 50 Chapter 5: Custom Character 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
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

Chapter 5: Custom Character Commands
50
Parameter n
Parameter n is used to specify the font to be used.
Table 36: Epson ESC : Command — Fonts for n Values
Value of n
Font
Value of n
Font
0
Roman
6
OCR-A
1
Swiss
7
Orator
2
Courier (default)
8
Orator-S
3
Prestige
122
Swiss Bold
4
Script
124
Letter Gothic
5
OCR-B
126
Font set on Menu
Down Line Load Characters Commands for 24-Pin Printers (Epson)
±
ML390 Turbo, ML391 Turbo
Function
ASCII
Dec
Hex
Load Custom Characters
ESC & m n
1
n
2
d
0
d
1
d
2
[data]
27 38 m n
1
n
2
d
0
d
1
d
2
[data]
1B 26 m n
1
n
2
d
0
d
1
d
2
[data]
±
ML590, ML591
Function
ASCII
Dec
Hex
Load Custom Characters
ESC & NUL m n
1
n
2
d
0
d
1
d
2
[data]
27 38 0 m n
1
n
2
d
0
d
1
d
2
[data]
1B 26 00 m n
1
n
2
d
0
d
1
d
2
[data]
Use these commands to begin downloading the character(s) to the printer.
Parameter m
This parameter selects the available area in RAM. The only available values/locations are m = 0
or m = 128.
Parameters n
1
n
2
These parameters specify the range of characters to be replaced with new ones. Multiple
characters must be assigned to adjacent locations.
Parameter n
1
indicates the first character that will be replaced: range 0 to 127.
Parameter n
2
indicates the last character that will be replaced: range 1 to 127.
Parameters d
0
d
1
d
2
These parameters define the width of the character grid in dots as follows:
d
0
= width of space before the character
d
1
= width of the character
d
2
= width of space after the character
Follow these parameters with the data calculated from your grid as shown above in the section
“Designing a Custom Character for 24-Pin Printers.”