beautypg.com

Esc h n1, Esc t n1, Esc u n1 – Zebra Technologies TTP 7030 User Manual

Page 36

background image

Programming
Text Commands

36

P1003636-002

TTP 7030™ Technical Manual

10/05/2009

Selects normal or reversed print.

Single words, characters, or complete text lines can be reversed.

Characters, single words, or complete text lines can be underlined.

Applicable n values are 0 — 15.

In combination with variable character width w, give highly legible characters
depending on the font to which the command has been applied.

Different fonts and heights can be mixed on the same print line.

ESC T n1

Reversed/Inversed Text

1B 54 n1

Hex

27 84 n1

decimal

n = 0

Gives normal print, black on white

n = 1

Gives reversed print, white on black

Note •

Reverse text and underline swaps the background with the foreground. This means

that the order in which the commands are issued affect the printout if one text overlaps
another.

ESC u n1

Underline

1B 75 n1

hex

27 117 n1

decimal

n = 0

Turns OFF underline

n = 1

Turns ON a 1 pixel thick underline

n = 2

Turns ON a 2 pixel thick underline, etc. up to n=7.

ESC h n1

Text Height

1B 68 n1

hex

27 104 n1

decimal

n = 1

Increases the character height to 2 times the basic character height.

n = 2

Increases the character height to 3 times the basic character height etc.

n = 0

Resets the character height to the basic character height.