Tally Genicom Matrix Printer User Manual

Page 69

Advertising
background image

7265 Programmer’s Manual

65

Copyright © 2004 TallyGenicom Chapter 4 ANSI Oversized

Commands Description

ESC

[Pv;Ph<sp>B

SET CHARACTER SIZE
Sets the expansion of oversized characters in percentage points. Pv is the vertical

expansion and Ph is the horizontal expansion. The parent font is a 10-point font.

Dimensions established by this sequence are stored in nonvolatile RAM while power is

off.
Caution: Any text between receipt of this command and a countermanding mode

selection command, either ESC [(Ps)| or ESC[(Ps)t, will be printed in expanded mode.

If you do not want this to happen, then you must follow this command immediately with

a mode selection command.
The range of valid parameters (in the sense that a valid parameter does not abort the

escape sequence) is 0 <= Pn < 32767. The printer rounds off dimension parameters

as follows:
If Pn < 100, then Pn = 100
If 100 < Pn < 18700, then Pn is rounded down to the nearest 100.
If Pn >= 18700, then Pn = 18700
Example - to set 20-point type at 1:1 aspect ratio:
Dec 27 91 50 48 48 59 50 48 48 32 66
Hex 1B 5B 32 30 30 3B 32 30 30 20 42

ESC

[0|

ESC

[p1|

EXIT OVERSIZED

Dec 27 91 48 125

Hex 1B 5B 31 7C

SET OVERSIZED

p1 = 1-4

Dec 27 91 49-52 124

Hex 1B 5B 31-34 7C

Advertising