Brother RJ-3050 Guida Di Riferimento

Pagina di 129
ESC/P Command Reference 
 
- 46 - 
5. Control Command Details 
HT 
Perform horizontal tab 
ASCII: 
HT 
Decimal: 
Hexadecimal:  09 
Parameters 
None 
Description 
  Moves the horizontal print position to the nearest horizontal tab position to the right of the input position. 
  If there is no horizontal tab position to the right of the input position, or if the next horizontal tab position is 
beyond the right margin, the HT command is ignored. 
  If underlining is specified, the space between the current position and the next horizontal tab position is not 
underlined. 
  When the printer is turned on, a horizontal tab position is specified every 8 columns at 10 cpi. 
Even  if  the  character  width  is  changed  before  the  horizontal  tab  positions  have  been  specified,  the 
horizontal tab positions do not change. 
  This command is available only with left alignment. 
Example 
To specify horizontal tabs at Column 4, Column 8, and Column 12, and perform horizontal tabs: 
Code: 
ESC D 04h 08h 0Ch 00h 
 
123456789012 CR A HT B HT C HT D FF 
Print result:  123456789012 
 
A      B      C      D