40Programming
Software Command Syntax
Text CommandsText 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.
ESC o n1 | Text and Logotype Orientation | |
1B 6F n1 | hex | |
27 111 n1 | decimal |
|
Changes the orientation of text and logotypes.
n1 = 0 Gives portrait orientation
n1 = 1 Gives landscape orientation
n1 = 2 Gives upside down portrait orientation
n1 = 3 Gives upside down landscape orientation
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.
Note • The
ESC N n1 |
| Align Text | ||
1B | 4E n1 | hex |
| |
27 | 78 n1 | decimal |
|
|
|
|
| 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. |
|
|
|
|
|
|
|
|
| n1 = 0 | Left |
|
|
|
|
|
|
|
| n1 = 1 | Center |
|
|
|
|
|
|
|
| n1 = 2 | Right |
|
|
|
|
|
TTP 2000 Technical Manual | 09/14/2009 |