Oki ML591 MICROLINE Reference Manual - Page 66

Table 24: ML ESC N Command, Character Spacing in Inches

Page 66 highlights

Table 24: ML ESC N Command - Character Spacing (in Inches) Decimal Value of n 0 1 2 3 4 5 6 7 8 9 10 11 10 cpi 3/120" 4/120" 5/120" 6/120" 7/120" 8/120" 9/120" 10/120" 11/120" 12/120" 13/120" 14/120" 12 cpi 3/144" 4/144" 5/144" 6/144" 7/144" 8/144" 9/144" 10/144" 11/144" 12/144" 13/144" 14/144" 17.1 cpi 3/206" 4/206" 5/206" 6/206" 7/206" 8/206" 9/206" 10/206" 11/206" 12/206" 13/206" 14/206" 20 cpi 3/240" 4/240" 5/240" 6/240" 7/240" 8/240" 9/240" 10/240" 11/240" 12/240" 13/240" 14/240" For example, if you are printing at 10 cpi and want to set the character spacing at 11/120", use this BASIC command: LPRINT CHR$(@7);"N";CHR$(8) Set Horizontal Motion Index [HMI] Command (Epson LQ) ߜ ML390 Turbo, ML391 Turbo ߜ ML590, ML591 Function ASCII Dec Hex Set Horizontal Motion Index (HMI) ESC c Lp Hp 27 99 Lp Hp 1B 63 Lp Hp Use this command to set the character spacing in LQ and Utility modes to any value from 1/360" up to 3". Parameters Lp and Hp Parameters Lp and Hp can have any value from 0 to 255 decimal and are used to designate the Horizontal Motion Index (HMI) according to the following equation: HMI (inches) = [Lp + (Hp x 256)] ÷ 360 If the HMI value is set to greater than 3": • ML390 Turbo and ML391 Turbo printers will ignore the command • ML590and ML591 printers will use 1/10" spacing. Chapter 3: Character Size & Spacing Commands 27

  • 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 3: Character Size & Spacing Commands
27
Table 24: ML ESC N Command —
Character Spacing (in Inches)
Decimal Value of n
10 cpi
12 cpi
17.1 cpi
20 cpi
0
3/120"
3/144"
3/206"
3/240"
1
4/120"
4/144"
4/206"
4/240"
2
5/120"
5/144"
5/206"
5/240"
3
6/120"
6/144"
6/206"
6/240"
4
7/120"
7/144"
7/206"
7/240"
5
8/120"
8/144"
8/206"
8/240"
6
9/120"
9/144"
9/206"
9/240"
7
10/120"
10/144"
10/206"
10/240"
8
11/120"
11/144"
11/206"
11/240"
9
12/120"
12/144"
12/206"
12/240"
10
13/120"
13/144"
13/206"
13/240"
11
14/120"
14/144"
14/206"
14/240"
For example, if you are printing at 10 cpi and want to set the character spacing at 11/120", use
this BASIC command:
LPRINT CHR$(@7);"N";CHR$(8)
Set Horizontal Motion Index [HMI] Command (Epson LQ)
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Horizontal Motion Index (HMI)
ESC c L
p
H
p
27 99 L
p
H
p
1B 63 L
p
H
p
Use this command to set the character spacing in LQ and Utility modes to any value from
1/360" up to 3".
Parameters L
p
and H
p
Parameters L
p
and H
p
can have any value from 0 to 255 decimal and are used to designate the
Horizontal Motion Index (HMI) according to the following equation:
HMI (inches) = [L
p
+ (H
p
x 256)] ÷ 360
If the HMI value is set to greater than 3":
ML390 Turbo and ML391 Turbo printers will ignore the command
ML590and ML591 printers will use 1/10" spacing.