
Programming
Software command syntax
50
P1003640-001 TTP2100 Technical Manual 10/22/2008
Selecting an empty font location, will set bit 4 of byte 1 in the status enquiry response to ”1".
See Parameter-Setting Data Enquiry on page 76
Bold is designed for normal character width and shows less and less as the width increases.
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.
Note • If more than 379 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 n1
Bold Normal Bold
1B 42 n1 Hex
27 66 n1 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
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 XOR's 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 wide underline
n = 2 Turns ON a 2 pixel wide underline, etc. up to n=7.
Comentarios a estos manuales