Oki ML591 MICROLINE Reference Manual - Page 80

Down Line Load Characters Command for 9-Pin Printers IBM, Custom Character Commands

Page 80 highlights

Down Line Load Characters Command for 9-Pin Printers (IBM) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML520, ML521 Function Down Line Load Characters ASCII ESC = c1 c2 m n a1 a2 [data] Decimal 27 61 c1 c2 m n a1 a2 [data] Hexadecimal 1B 3D c1 c2 m n a1 a2 [data] Use this command with the ML520 or the ML521 printer to begin downloading the characters. Parameters c1 and c2 These parameters specify the total count of characters to be downloaded. How these variables are calculated depends on which mode is engaged: Utility printing or Near Letter Quality (NLQ) printing. For Utility printing: value = (# of characters to be changed x 13) + 2 For NLQ printing: value = (# of characters to be changed x 48) + 2 If the value obtained is less than 256, substitute the value for c1 and replace c2 with 0. If the value obtained is 256 or more, divide the value by 256. Replace c2 with the whole number result and assign the remainder to c1. Parameter m This parameter selects the print quality: m = 20: Utility printing m = 21: NLQ printing Parameter n This parameter specifies the ASCII value of the starting character in the set to be redefined (characters must be redefined in sequence) and can be assigned any value in the range 0 to 255. Parameters a1 and a2 These parameters designate the attributes of the character. Parameter a1 Parameter a1 denotes whether the character is an ascender or descender: a1 = 0: ascender a1 = 128: descender Chapter 5: Custom Character Commands 41

  • 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
41
Down Line Load Characters Command for 9-Pin Printers (IBM)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
Function
ASCII
Decimal
Hexadecimal
Down Line Load Characters
ESC = c
1
c
2
m n
a
1
a
2
[data]
27 61 c
1
c
2
m n
a
1
a
2
[data]
1B 3D c
1
c
2
m n
a
1
a
2
[data]
Use this command with the ML520 or the ML521 printer to begin downloading the characters.
Parameters c
1
and c
2
These parameters specify the total count of characters to be downloaded. How these variables
are calculated depends on which mode is engaged: Utility printing or Near Letter Quality
(NLQ) printing.
For Utility printing:
value = (# of characters to be changed x 13) + 2
For NLQ printing:
value = (# of characters to be changed x 48) + 2
If the value obtained is less than 256, substitute the value for c
1
and replace c
2
with 0.
If the value obtained is 256 or more, divide the value by 256. Replace c
2
with the whole
number result and assign the remainder to c
1
.
Parameter m
This parameter selects the print quality:
m = 20: Utility printing
m = 21: NLQ printing
Parameter n
This parameter specifies the ASCII value of the starting character in the set to be redefined
(characters must be redefined in sequence) and can be assigned any value in the range 0 to
255.
Parameters a
1
and a
2
These parameters designate the attributes of the character.
Parameter a
1
Parameter a
1
denotes whether the character is an ascender or descender:
a
1
= 0: ascender
a
1
= 128: descender