Tally Genicom T5023 Printer User Manual


 
Horizontal print control Standard commands
82
T5023/5023+ - Programming Guide
Setting the text alignment
Function:
ESC a (n) sets the following text alignments depending on n (0 ... 3):
flush left : n = 0 (default value)
centered : n = 1
flushright:n=2
margin justification : n = 3
The adjustment takes place after the output of the following control commands:
CR (Carriage return, is output implicitly, for example, by the print command
PRINTLF)
LF (Line feed, is output implicitly, for example, by the print command PRINT
LF)
VT (Vertical tabulation)
FF (Form feed)
After an additional command (ESC [ ...)
With margin justification the text is aligned flush left and flush right. Thereby the
word spacing and the character spacing are increased, if necessary. The divisi-
on of a text into print lines takes place automatically. Therefore LF or CR com-
mands, for example, via the print command PRINTLF, should only be used
within a margin justification text in order to set a paragraph in the text.
ESC
27
1B
a
97
61
(n)
n
n
ASCII character
Decimal
Hexadecimal