Printek FormsMaster 8000 User Manual
Page 54

IBM Proprinter Emulation
48
Select Double-Wide Mode (one line)
SO
(or)
ESC SO
Selects double-wide mode for one line. Double-wide mode doubles the width of all characters, but
does not affect character height. This mode is cancelled by a carriage return or DC4.
Control code:
SO
Hexadecimal:
0E
Escape Sequence:
ESC
SO
Hexadecimal:
1B
0E
Cancel Double-Wide Mode (one line)
DC4
Cancels double-wide mode selected by SO or ESC SO. Does not cancel double-wide mode selected
by ESC W or ESC !.
Control code:
DC4
Hexadecimal:
14
Double-Wide Mode
ESC W
n
Selects double-wide mode for n=1, or cancels for n=0. Double-wide mode doubles the width of all
characters, but does not affect character height.
Example: The following escape sequence will select double-wide mode.
Escape Sequence:
ESC
W
1
Hexadecimal:
1B
57
31
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
0
00
no change
1
01
line feeds unchanged, single-high characters
2
02
line feeds unchanged, double-high characters
16
10
single line feeds, character height unchanged
17
11
single line feeds, single-high characters
18
12
single line feeds, double-high characters
32
20
double line feeds, character height unchanged
33
21
double line feeds, single-high characters
34
22
double line feeds, double-high characters
m4
hex
character width
1
01
single-wide characters
2
02
double-wide characters
Example: The following escape sequence will select double-wide and double-high mode, with double
line feeds.