Selecting size – Genicom GEK 00031B User Manual

Page 61

Advertising
background image

GEK-00029B

5000 Series Programmer’s Manual

61

Selecting Size

ESC [p1;p2 B is the sequence used to set the vertical (p1) and
horizontal (p2) size of the oversize characters. A p1 value of 300
would increase the vertical size of the character 300% or 3 times.

The last two digits of each parameter are necessary to comply with

the ANSI standard, but are ignored by the printer. Using the above
example for p1, any three-digit number starting with 3 (300-399) will
be interpreted as 3 times normal size. Likewise, 400-499 equals 4
times, 1200-1299 equals a 12-times increase in size, and so on. The
maximum size is 15600;15600 (156 times) and the minimum or
default is 200;200 (2 times).

Since this same sequence is used to change size in the expanded
mode, the parameters must be cleared to normal size,
ESC [ 100 ; 100 B, to prevent entering expanded mode when oversize
is turned off.

Mnemonic:

ESC [ <p1>; <p2> B

Decimal:

27 91 <p1> 59 <p2> 66

Hex:

1B 5B <p1> 3B <p2> 42

BASIC:

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

Size Parameters for Rotation

The <p1> and <p2> size parameters are always relative to a rotation
angle of zero degrees. That is, the characters are expanded first and
then rotated.

Spacing Between Characters

For non-rotated characters and characters rotated 180 degrees, the
horizontal spacing between characters is 1/60-inch times the <p2>
parameter.

For characters rotated 90 or 270 degrees, the horizontal spacing

between characters is 3/60-inch times the p1 parameter.

Vertical spacing is dependent on vertical paper move commands (LF,
CR, VPR, etc.), the state of menu option GenPrtOpts/Group 2/Strap
13, and the character size and line spacing currently in effect.

Advertising