Chapter 9: Vertical Control Commands90
Line Spacing Commands
General Line 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 PPR IBM AGM Epson ML
Set Line Spacing
to 1/6"
Not applicable Not applicable ASCII: ESC 2
Dec: 27 50
Hex: 1B 32
ASCII: ESC 6
Dec: 27 54
Hex: 1B 36
Set Line Spacing
to 1/8"
ASCII: ESC 0
Dec: 27 48
Hex: 1B 30
ASCII: ESC 0
Dec: 27 48
Hex: 1B 30
ASCII: ESC 0
Dec: 27 48
Hex: 1B 30
ASCII: ESC 8
Dec: 27 56
Hex: 1B 38
Set Line Spacing
to 7/72"
ASCII: ESC 1
Dec: 27 49
Hex: 1B 31
ASCII: ESC 1
Dec: 27 49
Hex: 1B 31
ASCII: ESC 1
Dec: 27 49
Hex: 1B 31
Not applicable
The most common line spacings for text are six and eight lines per inch (lpi). A spacing of 8 lpi
works well with compressed character pitches, and lets you fit more lines on a page. In the IBM
and Epson emulations you can also set a line spacing of 7/72".
Fine-Increment Line Spacing Commands for 9-Pin Printers (IBM/E/ML)
⻬ ML320 E/I, ML321 E/I ⻬ ML320 Turbo, ML321 Turbo ⻬ ML520, ML521
⻬ ML320 Std., ML321 Std.
Function IBM Epson ML
Set Line Spacing to n/72" ASCII: ESC A n*
Dec: 27 65 n
Hex: 1B 41 n
ASCII: ESC A n
Dec: 27 65 n
Hex: 1B 41 n
Not applicable
Set Line Spacing to n/144" ASCII: ESC % 9 n
Dec: 27 37 57 n
Hex: 1B 25 39 n
ASCII: ESC % 9 n
Dec: 27 37 57 n
Hex: 1B 25 39 n
ASCII: ESC % 9 n
Dec: 27 37 57 n
Hex: 1B 25 39 n
Set Line Spacing to n/216"
ASCII: ESC 3 n
Dec: 27 51 n
Hex: 1B 33 n
ASCII: ESC 3 n
Dec: 27 51 n
Hex: 1B 33 n
Not applicable
* In the IBM mode, the ESC A n command must be followed by the ESC 2 Perform Line Feed
command (described earlier in this chapter) to set the value of n.
These commands let you control vertical movement in very fine increments, which helps with
the precise placement of graphics. The actual amount of movement is set by the value of
parameter n which can vary, depending on the emulation.
Table 61: IBM/E/ML Fine Increment Line Spacing Commands —
Values of Parameter n
Increment Emulation Values of n
n/72" IBM
Epson
0 to 255
0 to 85, 128 to 213