
49
Programming
Software command syntax
10/22/2008 TTP2100 Technical Manual P1003640-001
Changes the orientation of text and logotypes.
Portrait and 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 on the current line; on subsequent lines, it
defaults back to Left align.
This command selects one of eight fonts. The font design depends on which fonts have been
loaded into the printer. Make a test printout to see which fonts are available in your printer.
Lines, too long to be printed in the selected font, are automatically wrapped around.
Different fonts can be used on the same line.
ESC o n1
Text and Logotype Orientation
1B 6F n1 hex
27111 n1 decimal
n = 0 Gives portrait orientation
n = 1 Gives landscape orientation
Note • Landscape orientation can only be used with Fixed Document Mode.
ESC N n1
Align Text
1B 4E n1 hex
27 78 n1 decimal
ESC N 0 Left
ESC N 1 Center
ESC N 2 Right
ESC ! n1
Select Font
1B 21 n1 hex
27 33 n1 decimal
ESC ! 0 selects normal font (font 0)
ESC ! 4 selects font 4
ESC ! 1 selects font 1
ESC ! 5 selects font 5
ESC ! 2 selects font 2
ESC ! 6 selects font 6
ESC ! 3 selects font 3
ESC ! 7 selects font 7
Kommentare zu diesen Handbüchern