beautypg.com

Datamax-O'Neil Labelpoint Programmer’s Manual User Manual

Page 70

background image

PROGRAMMER’S REFERENCE MANUAL

Appendix A: Intelhex Records.

Page 66

Labelpoint load graphics command

When using the Labelpoint load graphics command,

!L G

...

, the segment record is not

needed, since Labelpoint decides automatically where to store the graphics file.

Graphics format

Graphics are stored as bit-mapped graphics, where a bit set to 1 represents a black dot on

the paper. The actual bit-map is preceded by a table, which specifies the height and width of

the logo.

offset contents

0,1 0A,00

2,3

height of the pattern in dots

4,5

width of the pattern in dots

6,7 00,00

8,9

Row length, the number of bytes stored for each row of bit-mapped data

10 ...

the bit-mapped graphic data


The bit-mapped data is stored 8 bits per byte with the specified number of bytes per row.

Thus the total number of bytes required for the bitmap will be equal to the row length times the

height of the pattern.

The figure below shows how each bit in the bit map corresponds to a dot on the paper.

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

paper feed direction

1

2

byte

bit

row 0

1

2

3

4

This manual is related to the following products: