Programming
Software Command Syntax
40
P1002902-002 TTP 2000 Technical Manual 09/14/2009
Text Commands
Text received by the printer is printed with the currently selected font and font attributes. Text
exceeding the page width is wrapped with the line spacing selected.
Changes the orientation of text and logotypes.
Portrait and landscape or upside down portrait and upside down landscape can be mixed on the
same printout. There are two cursors, one for portrait and one for landscape. The cursor always
starts at the top left corner of the document. Looking at the paper when it exits the printer, the
portrait cursor is at the top left corner of the printout, moving to the right as text is typed, while
the landscape cursor is at the top right corner, moving downwards.
Changes the alignment of text and logotypes printed with ESC L on the current line; on
subsequent lines, it defaults back to Left align. The alignment can be changed multiple times
per text line.
ESC o n1
Text and Logotype Orientation
1B 6F n1 hex
27 111 n1 decimal
n1 = 0 Gives portrait orientation
n1 = 1 Gives landscape orientation
n1 = 2 Gives upside down portrait orientation
n1 = 3 Gives upside down landscape orientation
Note • The upside-down orientations (n1 = 2 and n1 = 3) were introduced in firmware version
3.27g. They can only be used with Fixed Document mode.
ESC N n1
Align Text
1B 4E n1 hex
27 78 n1 decimal
n1 = 0 Left
n1 = 1 Center
n1 = 2 Right