Font handling and enhancements – Genicom GEK 00031B User Manual

Page 31

Advertising
background image

GEK-00029B

5000 Series Programmer’s Manual

31

Font Handling and Enhancements

ESC [ p1; p2 SP B

GSM (Graphic Size Modification): This sequence modifies the
vertical <p1> and horizontal <p2> size of expanded and oversize
characters. When using expanded characters, the currently selected
font style is used. Oversize uses its own distinct font style.

Parameter values are percentages of the normal size character, so
values over 100 are needed for expansion. Expansion factors are
obtained by dividing values by 100.

Example: A parameter value of 526 would be divided by 100 to
produce an expansion factor of 5 (5X expansion). Values less than
100 are treated as 1X expansion.
X1: 0-199 (Default)

X4: 400-499 X7: 700-799

X2: 200-299

X5: 500-599 X8: 800-UP

X3: 300-399

X6: 600-699

Mixed sizes within a line can be top or bottom justified depending on
the Program Mode menu option (see VExOpt:Default and

VExOpt: Baseline).

The top of an expanded character is used as the starting point for
vertical paper movement (line feed). The top or bottom of oversize
characters can be used depending on the state of menu option
SETUP | FORMAT | MODIFY FORMAT |GENPRTOPTS |
GROUP 2 |Strap 13.

When this sequence is received with a value of 200 or more,
expanded printing starts if the printer is in the text mode (not bar
codes, oversize, etc.

Examples:

ESC [ ; 200 B

X1 Vertical

X2 Horizontal

ESC [ 200 ; 200 B

X2 Vertical

X2 Horizontal

ESC [ 800 ; 400 B

X8 Vertical

X4 Horizontal

During vertically expanded printing, blank lines (lines with no printed
characters) are not expanded from the current lpi setting.

Decimal:

27 91 p1 59 p2 32 66

Hex:

1B 5B p1 3B p2 20 42

BASIC:

CHR$(27);"[<p1>;<p2>B";

Advertising