Oki ML591 MICROLINE Reference Manual - Page 64

Character Spacing Commands

Page 64 highlights

For example, to set 10 cpi, emphasized, NLQ and underlining using this command, you would calculate the values for n1, n2, n3, and n4 as follows: n1 = 1 + 32 = 33 n2 = 8 + 64 = 72 n3 = 2 + 96 = 98 n4 = 4 + 112 = 116 The resulting BASIC statement looks like this: LPRINT CHR$(27);"&";CHR$(33);CHR$(72);CHR$(98);CHR$(116);":" Character Spacing Commands The character spacing commands include commands to turn proportional spacing on and off, as well as commands for increasing the standard spacing between characters at a fixed value. Proportional Spacing Commands (IBM/E/ML) ߜ ML320 E/I, ML321 E/I ߜ ML320 Std., ML321 Std. ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Proportional Spacing On Proportional Spacing Off IBM ASCII: ESC P 1 Dec: 27 80 1 Hex: 1B 50 01 ASCII: ESC P 0 Dec: 27 80 0 Hex: 1B 50 00 Epson ASCII: ESC p 1 Dec: 27 112 1 Hex: 1B 70 01 ASCII: ESC p 0 Dec: 27 112 0 Hex: 1B 70 00 ML ASCII: ESC Y Dec: 27 89 Hex: 1B 59 ASCII: ESC Z Dec: 27 90 Hex: 1B 5A In the ML320 E/I, ML321 E/I, ML320 Std., ML321 Std., ML320 Turbo, ML321 Turbo, ML520, and ML521, proportional spacing is available only with Near Letter Quality (NLQ) and Utility (UTL) printing. In the ML390 Turbo, ML391 Turbo, ML590 and ML591, proportional spacing is available only with Letter Quality (LQ) printing. This command adjusts the space between letters to compensate for the varying widths of individual characters. Unlike fixed spacing, where all characters are formed within a matrix of uniform width at a specified pitch, proportional spacing gives more horizontal space to wide characters, like w or M, and less to narrow characters, like I or f. The resulting print is more attractive and easier to read than fixed-space printing. Because the characters have different widths, proportionally spaced fonts have no fixed pitch; therefore margin settings are only approximate unless your software specifically supports proportional spacing. You can also select proportional spacing using the printer menu or the front panel buttons. In addition, proportional spacing is one of the features available through the composite command in the Epson mode. Chapter 3: Character Size & Spacing Commands 25

  • 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
25
For example, to set 10 cpi, emphasized, NLQ and underlining using this command, you would
calculate the values for n
1
, n
2
, n
3
, and n
4
as follows:
n
1
= 1 + 32 = 33
n
2
= 8 + 64 = 72
n
3
= 2 + 96 = 98
n
4
= 4 + 112 = 116
The resulting BASIC statement looks like this:
LPRINT CHR$(27);”&”;CHR$(33);CHR$(72);CHR$(98);CHR$(116);”:”
Character Spacing Commands
The character spacing commands include commands to turn proportional spacing on and off,
as well as commands for increasing the standard spacing between characters at a fixed value.
Proportional Spacing Commands (IBM/E/ML)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML320 Std., ML321 Std.
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
IBM
Epson
ML
Proportional Spacing On
ASCII: ESC P 1
Dec: 27 80 1
Hex: 1B 50 01
ASCII: ESC p 1
Dec: 27 112 1
Hex: 1B 70 01
ASCII: ESC Y
Dec: 27 89
Hex: 1B 59
Proportional Spacing Off
ASCII: ESC P 0
Dec: 27 80 0
Hex: 1B 50 00
ASCII: ESC p 0
Dec: 27 112 0
Hex: 1B 70 00
ASCII: ESC Z
Dec: 27 90
Hex: 1B 5A
In the ML320 E/I, ML321 E/I, ML320 Std., ML321 Std., ML320 Turbo, ML321 Turbo, ML520,
and ML521, proportional spacing is available only with Near Letter Quality (NLQ) and Utility
(UTL) printing.
In the ML390 Turbo, ML391 Turbo, ML590 and ML591, proportional spacing is available only
with Letter Quality (LQ) printing.
This command adjusts the space between letters to compensate for the varying widths of
individual characters. Unlike fixed spacing, where all characters are formed within a matrix of
uniform width at a specified pitch, proportional spacing gives more horizontal space to wide
characters, like w or M, and less to narrow characters, like I or f. The resulting print is more
attractive and easier to read than fixed-space printing.
Because the characters have different widths, proportionally spaced fonts have no fixed pitch;
therefore margin settings are only approximate unless your software specifically supports
proportional spacing.
You can also select proportional spacing using the printer menu or the front panel buttons. In
addition, proportional spacing is one of the features available through the composite command
in the Epson mode.