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

Page 5

Advertising
background image








The letter "A" would need to allow for the increased cell size, and would become:

0000011000000000

->

006h & 000h

0000011000000000

->

006h & 000h

0000111100000000

->

00fh & 000h

0000111100000000

->

00fh & 000h

0001111110000000

->

01fh & 080h

0001100110000000

->

019h & 080h

0011100111000000

->

039h & 0c0h

0011111111000000

->

03fh & 0c0h

0111111111100000

->

07fh & 0e0h

0110000001100000

->

060h & 060h

1110000001110000

->

0e0h & 070h

1100000000110000

->

0c0h & 030h

1100000000110000

->

0c0h & 030h

1100000000110000

->

0c0h & 030h

0000000000000000

->

000h & 000h

0000000000000000

->

000h & 000h

0000000000000000

->

000h & 000h

0000000000000000

->

000h & 000h

0000000000000000

->

000h & 000h

0000000000000000

->

000h & 000h




FONT FILE EXAMPLE – VERSION 1.0 MONOSPACE:

Since the file must be in binary, it is often easiest to create using an assembler. The following example shows the header,
and two of the characters in a form ready to assemble. The object code output, then, can be sent to the printer using the
Oneil WINDOWS configuration program, or a special command.

dl

PT10B_LINK

; Value is reset internally and can be any 4 byte number

db

"1.0"

; font version number (1.0 flags this header and respresentation)

db

047H

; code resulting from mod 256 summation of name of font below

db

"PT10B"

; name of this font

db

'E'

; single letter used as an alternate to refer to this font

db

00d

; use 00 for straight text

dw

14d

; (ABSOLUTE = 12) number of dots wide for this font

dw

20d

; number of dots high for this font

db

02d

; number of bytes in each dot row of each character

dw

40d

; number of bytes in each character represented in this font

db

'A'

; The letter "A" is first ASCII character represented

db

'B'

; The letter "B" is last ASCII character represented

db 00d

;

reserved

db

'1'

; USER font version number

db

"04/30/96"

; USER font creation date

db

"2 CHARS EXAMPLE FONT"

; USER 20 character description

Advertising