CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-8
8.10 ESC/POS COMMANDS
8.10.1 HORIZONTAL
TAB
COMMAND
[HT]
Function
Moves a print position to the next horizontal tab position.
Format ASCII:
HT
Hex:
09h
Default
Every 8 characters of font A (9th, 17th digit…)
Explanation
(1) This command will be ignored if the next horizontal tab position is not specified.
(2) The Horizontal Tab Positions Set Command ([ESD] D) must be used to specify a
position of a horizontal tab.
[Program
example]
fprintf( stdprn, "01234567890123456789012345678901234\n");
for( i=0; i<4; i++ ) {
fputc( '\t', stdprn ); /* Horizontal tab */
fputc( 'H', stdprn );
}
fputc( '\n', stdprn );
[Print example]: Default horizontal tab position
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
H
H
H
H
Reference
Horizontal Tab Positions Set Command ([ESD]D)