Left justify
Mode ASCII
Decimal
Hexadecimal
< ESC > “a” “0” 27 97
48 1B 61 30
Both
< ESC > “a” co> 27 97
0 1B 61 00
Aligns subsequent text with the left margin, leaving the right margin
ragged.
Center text
Mode ASCII
Decimal Hexadecimal
<ESC> “a” “1” 27 97
49 IB 61 31
Both
<ESC> “a” <I> 27 97
1 1B 61 01
Centers subsequent text between the left and right margins.
Right justify
Mode ASCII
Decimal Hexadecimal
<ESC> “a” “2” 27 97
50 1B 61 32
Both
<ESCb “a” <2> 27 97
2 1B 61 02
Aligns subsequent text with the right margin, leaving the left margin
ragged.
Set horizontal tab stops
Mode ASCII
Decimal Hexadecimal
Both <ESC>
“D” nl
n2 . ..<O> 27 68 nl nt...O 1B 44 nl n2...00
Cancels all current horizontal tab stops and sets new tab stops at columns
nl, n2, etc. in the current character pitch (pica pitch if proportional spacing
is currently selected), where nl, a?, etc. are numbers between 1 and 255.
The maximum number of horizontal tab stops allowed is 32 in Standard
mode and 28 in IBM mode. The tab stops must be specified in ascending
order; any violation of ascending order terminates the tab stop list.
Standard termination is by the < 0 > control code. To clear all tab stops,
specify <ESC> “D” CO>.
Set horizontal tab stop every n columns
Mode ASCII
Decimal Hexadecimal
< ESC > “e”
“0” n
27 101 48 n 1B 65 30 n
Both
< ESC > “e”
CO> n
27 101 0 n 1B 65 00 n
78