
Programming
Text Commands
43
ESC F |
| Set Horizontal Tabs | |
1B 46 | n1...n16 | hex | |
27 70 | n1...n16 | decimal |
|
This command defines the desired horizontal tab positions. Variables n1...nx represent each tab position. Up to 16 tab positions are allowed. Minimum allowed value is “1”.
Tab position 255 sets a tab stop on the last position of the line. Use this if you want underline or reversed text to extend across the full paper width. Note that the tab positions are always expressed in number of
n = 1 | Means 2.5 mm from the |
|
|
N = NUL | Ends the string |
|
|
Example • Sets tab stops at 12.5, 25, 37.5, 50, and 62.5 mm.
Send→ ESC F 5 10 15 20 25 0
Note • Do not use value n = 0. The values must be sorted from low to high numbers.
Graphics commands
For the TTP 8200, the line length in bytes is 1 x, see parameter 48 on page 84. For the TTP 8300, the line length in bytes is 1.5 x, see parameter 48 on page 84.
In the TTP 8200, that is 210 bytes for the A4 printer and 216 bytes for the Letter size printer.
...ESC b n1 n5 | data |
| Print Bitmap at | |
1B 62 n1 | ...n5 | Data | hex | |
27 98 n1... | n5 | Data | decimal |
|
Prints a black & white Windows bitmap
n1
n2n3
n4n5
data
Always 0
Two byte definition of the X print position (in pixels).
Two byte definition of the Y print position (in pixels).
Bitmap data.
After the bitmap has been printed, the cursor will return to the
Selecting horizontal mode (with <ESC>o<0>) prints the image in portrait orientation, while selecting the vertical mode (with <ESC>o<1>) prints the image in landscape orientation.
Note • The Y
10/19/2009 | TTP 8000 Technical Manual |