2006/05/31
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