CHAPTER 6 EPSON - 19
Select double-strike mode
EscG
(27)(71)
<1Bh><47h>
This command turns double-strike mode on. Subsequent text is printed with a bold stroke width.
LPRINT CHR$(27); CHR$(71); 'Turn double-strike printing mode on
Cancel double-strike mode
EscH
(27)(72)
<1Bh><48h>
This command turns double-strike mode off. Subsequent text is printed with a medium stroke width.
LPRINT CHR$(27); CHR$(72); 'Turn double-strike printing mode off
Select / cancel double-width printing
EscWn (27)(87)n
<1Bh><57h>n
ï‚Ÿ
This command turns double-width printing 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 character pitch setting
is restored.
ï‚Ÿ
When you specify a value for
n
you may also use the character codes for '0' and '1' (48 and 49) instead of 0
and 1.
ï‚Ÿ
Only
Esc W 0
can be used to cancel double-width printing mode set using the
Esc W 1
instruction.
ï‚Ÿ
Esc W 0
cancels double-width printing mode set using the
Esc W 1
instruction, the
SO
control code or the
Esc SO
instruction.
LPRINT CHR$(27); CHR$(87); CHR$(1); 'Set double-width printing mode
Select single-line double-width printing (I)
SO
(27)
<0Eh>
ï‚Ÿ
This command turns double-width printing mode on for one line only. The subsequent line of text is printed
using double-width characters and with the line spacing setting doubled.
ï‚Ÿ
The following commands cancel double-width printing mode set using the
SO
control code:
LF
,
FF
,
VT
,
Esc W 0
,
DC4
, and
ESC @
.
ï‚Ÿ
If the "auto LF" (automatic line feed) function has been turned on from the control panel, the carriage return
control code,
CR
, will also cancel double-width printing mode selected with the
SO
control code.
LPRINT CHR$(14); 'Set double-width printing mode for one line
Select single-line double-width printing (II)
EscSO (27)(14)
<1Bh><03h>
ï‚Ÿ
This command turns double-width printing mode on for one line only. The subsequent line of text is printed
using double-width characters and with the line spacing setting doubled.
ï‚Ÿ
The following commands cancel double-width printing mode set using the
SO
escape sequence:
LF
,
FF
,
VT
,
Esc W 0
,
DC4
, and
ESC @
.
ï‚Ÿ
If the "auto LF" (automatic line feed) function has been turned on from the control panel, the carriage return
control code,
CR
, will also cancel double-width printing mode selected with the
Esc SO
escape sequence.
ï‚Ÿ
This command functions exactly like the
SO
control code.
LPRINT CHR$(27); CHR$(14); 'Set double-width printing mode for one line
Cancel single-line double-width printing
DC4
(20)
<14h>
ï‚Ÿ
This control code cancels single-line double-width mode set with the
SO
control code or with the
Esc SO
escape sequence. Subsequent text is printed using normal sized characters.
ï‚Ÿ
The previous character pitch is restored.
LPRINT CHR$(20); 'Cancel enlarged character mode set with SO