Esc0 (27)(48) ; Esc1 (27)(48) ; Esc 2- Page 330

Brother HL-2140 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 7 IBM PROPRINTER - 12 

Line spacing and tabs 

Set 1/8" line spacing 

Esc0  (27)(48) 

  <1Bh><30h> 

This command sets the line spacing to 1/8".  All subsequent line feed operations will move the print 
position 1/8" down the page. 

LPRINT CHR$(27); CHR$(48); 'Set line spacing to 1/8". 

 

Set 7/72" line spacing 

Esc1  (27)(48) 

  <1Bh><31h> 

ï‚Ÿ

 

This command sets the line spacing to 7/72".  All subsequent line feed operations will move the print 
position 7/72" down the page. 

ï‚Ÿ

 

Since the printer's resolution is 600 dots per inch the line spacing will not be exactly 7/72". 

LPRINT CHR$(27); CHR$(49); 'Set line spacing to 7/72". 

 

Save n/72" line spacing 

EscAn (27)(65)n 

 

<1Bh><41h>n 

ï‚Ÿ

 

This command allows you to select a line spacing of 

n

/72".  Your selection does not take effect until 

you activate it with the 

Esc 2

 command. 

ï‚Ÿ

 

Since the printer's resolution is 600 dots per inch the line spacing may not be exactly 

n

/72". 

ï‚Ÿ

 

n

 must be in the range 1 to 85. 

ï‚Ÿ

 

If n is outside the range 1 to 85 the default line spacing, 1/6" is selected. 

LPRINT CHR$(27); CHR$(65); CHR$(10); 'Select line spacing of 10/72". 

 

Activate n/72" line spacing 

Esc2  (27)(50) 

  <1Bh><32h> 

This command allows you to activate the line spacing setting you specified with the Esc A command. 

LPRINT CHR$(27); CHR$(50); 'Activate selected line spacing of n/72". 

 

Set n/216" line spacing 

Esc3n (27)(51)n 

 

<1Bh><33h>n 

ï‚Ÿ

 

This command sets the line spacing to 

n

/216".  All subsequent line feed operations will move the print 

position 

n

/216" down the page. 

ï‚Ÿ

 

Since the printer's resolution is 600 dots per inch the line spacing may not be exactly 

n

/216". 

ï‚Ÿ

 

n

 must be in the range 1 to 255. 

LPRINT CHR$(27); CHR$(51); CHR$(25); 'Select line spacing of 25/216". 

 

Execute n/216" line spacing 

EscJn (27)(74)n 

 

<1Bh><4Ah>n 

ï‚Ÿ

 

This command moves the print position one line down the page using a line spacing of 

n

/216". 

ï‚Ÿ

 

The existing line space setting is not affected. 

LPRINT CHR$(27); CHR$(50); CHR$(30); 'Move print position down 30/216". 

 

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

Lists of information found in Brother HL-2140 Command Reference Guide for Software Developers - Page 330

  • 85. ï‚Ÿ If n is outside the range 1 to 85 the default line spacing, 1/6" is selected.
  • 55. LPRINT CHR$(27); CHR$(51); CHR$(25); 'Select line spacing of 25/216".

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