Text commands, Esc n n1, Esc o n1 – Zebra Technologies TTP 8000 User Manual

Page 37

Advertising
background image

37

Programming

Text Commands

10/19/2009

TTP 8000 Technical Manual

P1003638-003

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 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.

ESC o n1

Text and Logotype Orientation

1B 6F n1

hex

27 111 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

Advertising