Esc4 (27)(52) ; Esc5 (27)(53) ; Esc T- Page 310

Brother HL-2230 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 6 EPSON - 20 

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. 

 

Selecting either superscript or subscript mode cancels double-height printing mode. 

 

You can cancel either superscript or subscript mode with the 

Esc T

 command. 

LPRINT CHR$(27); CHR$(83); CHR$(0); 'Turn on superscript mode  

 

Cancel superscript / subscript mode 

EscT  (27)(84) 

  <1Bh><54h> 

 

This command cancels superscript or subscript printing mode. 

 

Subsequent text is printed using normal characters. 

LPRINT CHR$(27); CHR$(84); 'Turn off superscript mode  

 

Select / cancel double-height printing 

Escwn (27)(119)n 

 <1Bh><77h>n 

 

This command turns double-height printing on or off.   

 

If 

n

 is set to 1 subsequent text is printed using double-height characters.  The line space setting is doubled. 

 

If 

n

 is set to 0 subsequent text is printed using normal sized characters.  The previous line spacing 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. 

 

You cannot use superscript, subscript or condensed printing modes in conjunction with double-height 
printing.  If you try to select any of these three modes while in double-height printing the command will be 
ignored. 

LPRINT CHR$(27); CHR$(119); CHR$(1); 'Set double-height printing mode  

 

Select / cancel underline mode 

Esc–

(27)(45)n  

<1B><2D>n 

 

This command turns character underlining on or off.   

 

If 

n

 is set to 1 subsequent text is printed underlined.  All characters, including space characters, are 

underlined with a continuous line.   

 

Horizontal tabbed spaces are never underlined. 

 

If 

n

 is set to 0 subsequent text is not underlined. 

 

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. 

LPRINT CHR$(27); CHR$(45); CHR$(1); 'Underline following text 

 

Detailed Information for Brother HL-2230 Command Reference Guide for Software Developers

Lists of information found in Brother HL-2230 Command Reference Guide for Software Developers - Page 310

  • 1.  Selecting either superscript or subscript mode cancels double-height printing mode.
  • 1.  You cannot use superscript, subscript or condensed printing modes in conjunction with double-height printing.

Related Documents for Brother HL-2230 Command Reference Guide for Software Developers