character height and line spacing

IBM Proprinter Emulation

Double-High Mode

ESC [ @ n1 n2 m1 m2 m3 m4

Selects single or double-high mode, single or double-wide mode, and single or double line feeds.

The two bytes n1 and n2 specify how many mode bytes (m1, m2, m3, m4) follow. Theoretically, there may be n1 + (n2 x 256) mode bytes. Actually, n2 must be 0, and n1 may be 0 to 4, but is normally 4.

m1 and m2 must be 0 (NUL). m3 and m4 may be set to the values in the following tables.

m3

hex

character height and line spacing

000 no change

101 line feeds unchanged, single-high characters

202 line feeds unchanged, double-high characters

1610 single line feeds, character height unchanged

1711 single line feeds, single-high characters

1812 single line feeds, double-high characters

3220 double line feeds, character height unchanged

3321 double line feeds, single-high characters

3422 double line feeds, double-high characters

m4

hex character width

101 single-wide characters

202 double-wide characters

Example: The following escape sequence will select double-wide and double-high mode, with double line feeds.

Escape Sequence:

ESC

[

@

4

0

0

0

34

2

Hexadecimal:

1B

5B

40

04

00

00

00

22

02

Select Subscript or Superscript Mode

 

 

 

 

 

ESC S n

Selects subscript mode for n=1, or superscript mode for n=0. This will print characters about half the normal height, in the bottom or top half of the normal character cell.

Example: The following escape sequence will select superscript mode.

Escape Sequence:

ESC

S

0

 

Hexadecimal:

1B

53

30

 

Cancel Subscript and Superscript Mode

ESC T

Cancels subscript and superscript mode.

 

Escape Sequence:

ESC

T

 

 

Hexadecimal:

1B

54

 

 

Page 4-6

Page 66
Image 66
Printek 4503, 4300, 4500 manual Double-High Mode, character height and line spacing, hex character width, ESC S n, Esc T