2001/10/02
CHAPTER 6 EPSON - 19
• 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
Select italic mode
Esc4 (27)(52) <1Bh><34h>
• This command enables the italic printing mode. Subsequent text is printed in italic style.
• You can still use italic text even after selecting the extended character set with the Esc t command.
LPRINT CHR$(27); CHR$(52); 'Italic mode
Cancel italic mode
Esc5 (27)(53) <1Bh><35h>
This command cancels the italic printing mode. Subsequent text is printed upright.
LPRINT CHR$(27); CHR$(53); 'Cancel italic mode
Select superscript / subscript 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.
• When you specify the value for n you may use the character codes for ‘0’ and ‘1’ (48 and 49) instead
of 0 and 1.