Esc sp – Tally Genicom Matrix Printer User Manual

Page 107

Advertising
background image

Character Spacing

ESC SP

Data Structure

ASCII

ESC SP

<n>

hex.

1B

20

<n>

dec.

27

32

<n>

Description

The size of the spaces between the characters is increased by n

1

180

inch in NLQ and

LQ and in Draft by n

1

120

inch. This space is added to the spaces used for character de-

finition.

The value specified for n must be in the range of 0 to 127.

Example

10 REM character spacing
20 LPRINT CHR$(27);"@"
25 LPRINT CHR$(27);"x1";:REM High Print quality
30 LPRINT "this is normal width"
40 LPRINT CHR$(27);" ";CHR$(3);
50 LPRINT "now 3/180 inch is added to normal width"
60 LPRINT CHR$(27);" ";CHR$(6);
70 LPRINT "now 6/180 inch is added"
80 END

24

Character

Spacing

Advertising