6.4. Using Tabs; Escjn (27)(106)n ; Using Tabs - Page 306

Brother HL-2460 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 6 EPSON - 16 

Perform n/216" reverse line feed 

Escjn (27)(106)n 

 <1Bh><6Ah>n 

This command performs a single reverse line feed, moving the print position up the page by 

n

/216". 

 

This command does not perform a carriage return. 

 

The current line spacing setting is not affected. 

 

n

 must be in the range 0 to 255. 

 

The actual vertical distance moved may not be exactly the distance you specify due to the printer's 600 dots 
per inch resolution. 

LPRINT CHR$(27); CHR$(106); CHR$(108); '1/2" line feed 

 

6.4.

 

Using Tabs 

Set horizontal tab stops 

EscDn1n2n3...NUL (27)(68)n1n2n3...(00) 
 <1Bh><44h>n1n2n3...<00h> 

 

This command enables you to set up to 32 horizontal tab stops based on the current character width. 

 

The character width setting is determined by the combination of the current pitch (10 or 12 characters per 
inch) and the current character mode (condensed, normal or double-width).  If proportional spacing is being 
used the character width is based on a pitch of 10 characters per inch. 

 

The tab stops must be set in ascending order.  If you invoke the command with the tabs in any other order all 
horizontal tab settings are cleared. 

 

The value of 

n

i

 must be in the range 0 to 255. 

 

Once you have selected the tab settings they remain fixed - their position does not change if you change the 
character pitch or character width settings. 

 

To set up a group of equally spaced tab stops use the 

Esc e 0 

command. 

 

Esc D 0

 clears all horizontal tab settings. 

 

The default tab stop settings are at every eighth column, starting at the ninth column.  The default column 
width is 1/10". 

 

The default settings are adopted when the printer is first switched on or when you perform a reset with the 

Esc @

 instruction. 

 

You can move the print position to the tab stops using the 

HT

 control code. 

LPRINT CHR$(27); CHR$(68); CHR$(10); CHR$(20); CHR$(0);  
'Set tab stops at columns 10 and 20. 

 

Horizontal tab 

HT  

(09) 

 

<09h> 

 

The 

HT

 control code (ASCII code 9) moves the current print position one tab stop to the right. 

 

The command is ignored if there are no tab stops to the right of the current print position or if the next tab 
stop is beyond the right margin. 

LPRINT CHR$(9); 'Tab 

 

Set vertical tab stops 

EscBn1n2n3...NUL (27)(66)n1n2n3...(00) 

<1Bh><42h>n1n2n3...<00h> 

 

This command enables you to set up to sixteen vertical tab stops based on the current line space setting. 

 

The tab stops must be set in ascending order.  If you specify the tab settings in any other order, any settings 
made with a previous 

Esc B

 command are cleared. 

 

The value of 

n

i

 must be in the range 0 to 255. 

 

Vertical tab settings are not affected by subsequent changes in the line spacing setting. 

 

To set up a group of equally spaced tab stops use the 

Esc e 1 

command. 

 

Esc B 0

 clears the vertical tab settings set with a previous 

Esc B

 command. 

 

You can move the print position to the tab stops using the 

VT

 control code. 

LPRINT CHR$(27); CHR$(66); CHR$(12); CHR$(24); CHR$(0);  
'Set tab stops at lines 12 and 24. 

 

Set vertical channel tab stops 

Escbnm1m2m3...NUL (27)(98)nm1m2m3...(00) 

<1Bh><62h>nm1m2m3...<00h> 

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

Lists of information found in Brother HL-2460 Command Reference Guide for Software Developers - Page 306

  • 55.  The actual vertical distance moved may not be exactly the distance you specify due to the printer's 600 dots per inch resolution.
  • 6.4.
  • 3..
  • 3..
  • 3..
  • 55.  Once you have selected the tab settings they remain fixed - their position does not change if you change the character pitch or character width settings.
  • 3..
  • 3..
  • 3..
  • 55.  Vertical tab settings are not affected by subsequent changes in the line spacing setting.
  • 24. Set vertical channel tab stops Escbnm1m2m3.
  • 3..
  • 3..

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