Esc t n1...n5, Esc w n1 – Zebra Technologies TTP 8000 User Manual
Page 40
Programming
Text Commands
40
P1003638-003
TTP 8000 Technical Manual
10/19/2009
Applicable n values are 0 — 7.
In combination with variable character height (
depending on the font to which the command has been applied.
Different fonts and widths can be mixed on the same print line.
Prints a text string at the specified X-Y position. The string will use the formatting set by font,
reversed, width, height, bold, italics, and underline commands.
After the string has been printed, the cursor will return to the position it had before the string
command was issued.
Moves the print-position one step to the left. Backspace can be used to combine characters.
For instance to print a Ø, send text commands O BS / to the printer, and the slash will
overprint the O.
Only one backspace can be used at a time. Excessive backspaces will be ignored.
ESC w n1
Text Width
1B 77 n1
hex
27 119 n1
decimal
n = 1
Increases the character width to 2 times the basic character width.
n = 2
Increases the character width to 3 times the basic character width etc.
n = 0
Resets the character width to the basic character width.
ESC t n1...n5
data
Print Text at XY
1B 74 n1...n5
data
hex
27 116 n1...n5
data
decimal
n1n2
Two byte definition of the X print position (in pixels).
n3n4
Two byte definition of the Y print position (in pixels).
n5
The number of characters in the string.
data
The text string. The length must be exactly the number of characters
specified by n5, otherwise the printer will stop, waiting for more
characters.
Note •
The
not be cleared.
Note •
The Y print-position only works if fixed page length is used.
BS
Backspace
08
Hex
8
Decimal