CHAPTER 7 IBM PROPRINTER - 15
Set enlarged character mode for a single line
SO
(14)
<0Eh>
This command turns enlarged character mode on for one line only. The subsequent line of text is
printed using double-width characters and with the line space setting doubled.
The following commands cancel enlarged character mode set using the
SO
control code:
CR
,
CAN
,
LF
,
FF
,
VT
,
Esc W 0
,
DC4
and
Esc [@
.
LPRINT CHR$(14); 'Set enlarged character mode for one line
Cancel enlarged character mode
DC4
(20)
<14h>
This control code cancels the single-line enlarged character mode set with the
SO
control code.
Subsequent text is printed using normal sized characters. The previous line spacing setting is
restored.
The previous character pitch is restored.
LPRINT CHR$(20); 'Cancel enlarged character mode set with SO
Cancel
CAN
(24)
<18h>
This control code cancels single-line enlarged character mode set with the
SO
control code. Subsequent
text is printed using normal sized characters and the previous line spacing setting is restored.
LPRINT CHR$(24); 'Cancel enlarged character mode set with SO
Enlarged character mode
EscWn (27)(87)n
<1Bh><57h>n
This command turns enlarged character mode on or off.
If
n
is set to 1 subsequent text is printed using double-width characters. The line spacing setting is
doubled.
If
n
is set to 0 subsequent text is printed using normal sized characters. The previous line spacing and
character pitch settings are restored.
Only
Esc W 0
can be used to cancel enlarged character mode set using the
Esc W 1
instruction.
Esc W 0
cancels enlarged character mode set using the
Esc W 1
instruction, the
SO
control code or
the
Esc [@
instruction.
LPRINT CHR$(27); CHR$(87); CHR$(1); 'Set enlarged character mode
Set superscript or subscript character mode
EscSn (27)(83)n
<1Bh><53h>n
This command allows you to print superscripts or subscripts.
Set
n
to 0 to print subsequent text using superscript characters.
Set
n
to 1 to print subsequent text using subscript characters.
LPRINT CHR$(27); CHR$(83); CHR$(1); 'Turn on subscript mode
Cancel superscript or subscript character mode
EscT (27)(84)
<1Bh><54h>
This command stops superscript or subscript printing if either had been enabled.
Subsequent text is printed using normal characters.
LPRINT CHR$(27); CHR$(84); 'Turn off superscript/subscript mode