Character bitmap data – Zebra Technologies TTP 7030 User Manual

Page 65

Advertising
background image

65

Programming

Font Loading

10/05/2009

TTP 7030™ Technical Manual

P1003636-002

Char_bitmap data: Bitmap data for all characters that are to be defined.

Character bitmap data:

A character is made up of a bitmap the size of which is:

Char. width (X) * Char. Height (Y) bytes.

The bitmap data consists of bitmap patterns for each character in a character set for which the
parameter Char_width in the Char_matrix table is set to a value between 1 and 24. A character
that has its Char_width set to zero, is not included in the bitmap data.

The bitmap for one character is then defined according to the following table:

In order to minimize the required storage space, only rows between Ystart and Ystart+Yheight
are included in the character bitmap.

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

Example •

In this example, each row consists of 3 columns equal to 3 bytes.

(COL 0, ROW Ystart) , (COL 1, ROW Ystart) , (COL 2, ROW Ystart)

(COL 0, ROW Ystart+1) , (COL 1, ROW Ystart+1) , (COL 2, Ystart+1)

(COL 0, ROW Ystart+Yheight), (COL 1, ROW Ystart+Yheight ), (COL 2, ROW
Ystart+Yheight)

0

1

2

0

4

ROW

COLUMN

Col 0

Col 1

MSB

LSB MSB

LSB

Col 2

MSB

LSB

Row 1

=03H

=FFH

=80H

Advertising