Tally Genicom Matrix Printer Printer User Manual


 
7265 Programmer’s Manual
19
Copyright © 2004 TallyGenicom Chapter 2 ANSI
Commands Description
ESC [(p1);
(p2) <SP> G
LINE/CHARACTER SPACING
p1 = line spacing parameter p2 = character spacing parameter
If you select doublewide printing (ESC [5m), then the printer doubles character
spacing set by this command. If the designed pitch of the current font is 10 cpi and
doublewide is set, then a character spacing argument of 72 results in a pitch of 5 cpi,
at which horizontal segments of line-draw characters are contiguous.
Example: ESC [90;60 <sp> G
sets the vertical spacing to 8 lines per inch and the horizontal spacing to 12
characters per inch. (720 divided by 8 = 90, and 720 divided by 12 = 60).
Dec 27 91 52 48 59 54 48 32 71
Hex 1B 5B 39 30 3B 36 30 20 47
p2 CPI
120 6
The quick brown fox jumped
90 8
The quick brown fox jumped over
72 10
The quick brown fox jumped over the lazy
60 12
The quick brown fox jumped over the lazy dog’s back.
51 14
The quick brown fox jumped over the lazy dog’s back.
45 16
The quick brown fox jumped over the lazy dog’s back.
40 18
The quick brown fox jumped over the lazy dog’s back.
36 20
The quick brown fox jumped over the lazy dog’s back.
Figure 2-4 Effects of Character Spacing Parameters