Line spacing – Printronix ANSI Printer User Manual

Page 36

Advertising
background image

36

Chapter

2

Configuring The ANSI Emulation

For Gothic NLQ font underlined:
ESC [4;13m

To cancel underlining and retain Gothic NLQ
send one of the following:
ESC [;13m
ESC [0m
ESC [0;13m
ESC [;m

Line Spacing

ASCII Code ESC [p1;p2 SP G

Hex Code

1B 5B p1 3B p2 20 47

Dec Code

27 91 p1 59 p2 32 71

Expression CHR$(27);“[p1;p2 G”;

Purpose

Sets line spacing (p1) and character spacing or pitch (p2) in
decipoints.

Discussion Horizontal spacing (p2) is dependent on the font selected.

Values outside the range of a particular font will be ignored.
Commonly used line spacings are listed in Table 5 and Table 6.

Table 5. Common p1 Values

LPI

p1 (decipoints)

3

240

4

180

6

120

8

90

Table 6. Common p2 Values

CPI

p2 (decipoints)

10

72

12

60

13.3

54

15

48

16.7

43

Advertising