Zebra 01407-000 Manual Do Utilizador

Página de 116
35
Programming
Software Command Syntax
03/03/2009
TTP 1020™/TTP 1030™ Technical Manual
P1003643-001
Changes the alignment of text.
This command selects one of eight fonts. Make a test printout to see the appearance of the 
fonts.
Table 5 • 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.
Selection of a non-existent font will set bit 4 of byte 1 in the status enquiry response to ”1". 
See 
.
Bold is designed for normal character width and shows less and less as the width increases.
ESC N
n
Text alignment
1B
4E
n
hex
027
078
n
decimal
ESC N 0= 
Left
ESC N 1 = 
Center
ESC N 2 = 
Right
ESC !
n
Select font
1B
21
n
Hex
027
033
n
Decimal
ESC ! 0 selects TTP Mono 7 
ESC ! 2 selects Arial 5
ESC ! 1 selects Arial 8
ESC ! 3 selects Symbol 9
ESC ! 4 selects Code 39
ESC ! 5
 
downloadable font 5
ESC ! 6
 
downloadable font 6
ESC ! 7
 
downloadable 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
n
Bold
Normal Bold
1B
42
n Hex
027
66
n Decimal
n = 0
Turns OFF bold (Normal)
n = 1
Turns ON bold