3 – 34
Line Spacing Decimal Hex ASCII Comp
Begin
1
/8 inch line spacing 27 48 1B 30 ESC 0 E P A
Begin
7
/72 inch line spacing 27 49 1B 31 ESC 1 P A
Begin
1
/6 inch line spacing 27 50 1B 32 ESC 2 E
Set variable line spacing 27 65 n 1B 41 n ESC A n E P A
Epson: n = 0 to 127 spacing is
n
/60 inch IBM Proprinter: n = 1 to 255 spacing is
n
/72 inch
IBM XL24E/AGM n = 1 to 255 spacing is
n
/60 inch
Activate variable line spacing 27 50 1B 32 ESC 2 P A
Begin fine line spacing 27 51 n 1B 33 n ESC 3 n E P A
Epson: IBM XL24E/AGM: n = 0 to 255 spacing is
n
/180 inch IBM Proprinter n = 1 to 255
spacing is
n
/216 inch
Begin
n
/360 inch line spacing 27 91 n 1B 58 n ESC [ n E
or 27 43 n 1B 2B n ESC + n E
or 28 51 n 1C 33 n FS 3 n E
n = 0 to 255
Begin
n
/360 inch line spacing 27 37 56 n 1B 25 38 n ESC % 8 n P A
n = 1 to 255
Set line spacing units 27 91 92 4 1B 5B 5C 04 ESC [ \ EOT P A
0 0 0 0 n 00 00 00 00 NUL NUL
n NUL NUL n
The most common spacings for text are 6 and 8 Lines Per Inch (LPI). A spacing of 8
LPI works well with compressed character pitches, and lets you fit more lines on a
page.
Several of these commands let you control vertical movement in very fine units, which
helps with the precise placement of graphics. The Graphics Fine Line Spacing table
shows the values to include in these commands so that the rows of dots will not overlap
or leave spaces in graphic images. (See also ESC 1 in the IBM emulations.)