beautypg.com

Datamax-O'Neil VMP SERIES AN-16 (Single Byte Character Set Font File Format) User Manual

Page 3

background image









Impact:

2 BYTES, LSB 1st

Actual number of dots wide

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide, monospace font, PICA pitch

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font, PICA condensed

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font, ELITE pitch

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font, ELITE condensed

0xFFFF for proportional font

OR Thermal:

2 BYTES, LSB 1st

Number of dots wide for monospace font

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots wide for monospace font

0xFFFF for proportional font

2 BYTES, LSB 1st

Number of dots high

1 BYTE

Number of bytes in each row

2 BYTES

Number of bytes in each character

1 BYTE

First ASCII character represented in this font

1 BYTE

Last ASCII character represented in this font

1 BYTE

Dotline to place underline (impact)

1

BYTE

USER

version

number

9 BYTE

USER creation date (8 bytes plus terminating NUL)

21 BYTES

USER description (20 bytes plus terminating NUL)



EACH CHARACTER:

Characters are represented with a bitmap within a "cell". The cell represents a character position on the printed line. The cell
must extend upwards to the top of the highest character and down to the bottom of the lowest character. Characters are left
justified within this cell; white space between characters can be adjusted but exist on the right side within this cell.

The "cell" for each font may be any width, but the downloaded image width must be a multiple of 8 wide (since 8 is the number
of bits within a byte), and may be any height. Each character then contains a series of bytes; one or more bytes constitute
each dot line row of the character; a sequence of these byte(s), then will build the entire character one dot line row at a time.

Each dot within the cell is 1/200 inch tall and 1/200 inch wide. To build a character approximately 0.07 inches tall and .06
inches wide, we would use 14 dotlines high and 12 dots wide. Since the 12 dot width of the character would need to be
represented by two bytes, we could specify a character width of 12 dots for a zero dot spacing between characters, 13 dots for
a one dot spacing, on up to 16 dots for a 4 dot spacing. This size character would probably look best with a 2 dot spacing, so
we would specify a width of 14 dots total in the font header.