Zebra Technologies TTP 8000 manual File Format

Models: TTP 8000

1 132
Download 132 pages 5.96 Kb
Page 65
Image 65

Programming

Fonts

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.

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!

 

 

 

Char_matrix table: 256 records, each containing 3 bytes.

3byte Char_width (pixels) + Char_Ystart(pixels) + Char_Yheight(pixels) Char_bitmap data: Bitmap data for all characters that are to be defined.

65

Char_sizeY

 

Char_width

 

Char_width

Char_width Char_width

 

A

Char_Ystart

A Wg

 

 

 

 

 

 

 

Char_Yheight

 

 

 

Baseline

 

 

 

 

 

 

Char_sizeX

 

Char_pitch

Char_pitch

Char_pitch

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Page 65
Image 65
Zebra Technologies TTP 8000 manual File Format