Zebra Technologies TTP 8000 Printer User Manual


 
65
Programming
Fonts
10/19/2009 TTP 8000 Technical Manual P1003638-003
File Format
A font consists of a header describing the font, then data for every character in the font. The
header has to be downloaded even if the font consists of a single character only. Below is a
description of the font header.
Char_matrix table: 256 records, each containing 3 bytes.
3 byte Char_width (pixels) + Char_Ystart(pixels) + Char_Yheight(pixels)
Char_bitmap data: Bitmap data for all characters that are to be defined.
1 byte Reserved Should always be 0 (zero)
1 byte Reserved Should always be 0 (zero)
1 byte Char. width (X) The number of bytes required for the width of one character,
usually 2 or 3. Range 1 to 8.
1 byte Not used
1 byte Char. height (Y) The maximum height of one character matrix measured in
pixels. This is also the minimum line spacing for this
character set.
27 byte Font name String of characters used to identify the character set.
This will be printed on status printouts. (E.g. Swiss 10 cpi.)
Must always be 27 bytes, so fill up with NUL characters!
A
Char_Ystart
Baseline
Char_sizeX
Char_Yheight
Char_sizeY
Char_width
A
Char_pitch
Char_width
W
Char_pitch
Char_width
g
Char_pitch
Char_width