Esc ! n1, Esc b, Esc i n1 – Zebra Technologies TTP 8000 User Manual

Page 38

Advertising
background image

Programming
Text Commands

38

P1003638-003

TTP 8000 Technical Manual

10/19/2009

This command selects one of eight fonts. The font design depends on which fonts have been
loaded

1

into the printer. Make a test printout to see which fonts are available in your printer.

Table 7 • Font selection commands

Lines, too long to be printed in the selected font, are automatically wrapped around.

Different fonts can be used on the same line.

Selecting an empty or invalid font location, will set bit 4 of byte 1 in the status enquiry
response to ”1". See

Parameter-setting Data Enquiry on page 63

.

Bold is designed for normal character width and shows less and less as the width increases.

ESC ! n1

Select Font

1B 21 n1

hex

27 33 n1

decimal

1. For font loading, see

Loading on page 67

.

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

Note •

If more than 256 characters are sent to the printer before an LF, the first part of the

buffer contents is printed-out automatically. The text is formatted according to the already
received formatting commands.

ESC B

Bold

Normal Bold

Hex

decimal

n = 0

Turns OFF bold (Normal)

n = 1

Turns ON bold

ESC i n1

Italics

Normal Italics

1B 69 n1

Hex

27 105 n1

decimal

n = 0

Turns OFF Italics (Normal)

n = 1

Turns ON Italics

Advertising