Using The Hex Method; Creating Graphics - Avery Dennison ADTP1 Reference Manual

Monarch tabletop printer 1
Hide thumbs Also See for ADTP1:
Table of Contents

Advertisement

Using the Hex Method

The following steps explain how to derive a hex character string from a bitmapped graphic. Each
square on the grid represents a dot. A black square indicates the dot is ON, and a white square
indicates the dot is OFF. A sequence of binary numbers, called a bit pattern or bitmap,
determines what dots are on and off. The numbers "0" and "1" are used for this purpose. The
number "1" turns a dot on and "0" turns a dot off.
All hex numbers must be two digits. For example, write hex 0 as 00, or hex E as 0E.
1. Assign 1 to every black square and 0 to every white square.
00000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000
00000000000000000000000000000000000000011111111111000000000000000000000000001111111110000000000000000000
00000000000000000000000000000000001111100000000000000000000000000000000000000000000001111110000000000000
00000000000000000000000000000011110000000000000000111111111111111111111111110000000000000001111000000000
00000000000000000000000001111100001111111111111111111111111111111111111111111111111111111110000111110000
00000000000000000000000110000011111111111111111111111111111111111111111111111111111111111111111000001100
00000000000000000000000110001111111111111111111111111111111111111111111111111111111111111111111111111110
00000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110
00000000000000000000000111111111111111111111111111111000000000000000000011111111111111111111111111111110
00000000000000000000000111111111111111111111000000000000000000000000000000000000011111111111111111111100
00000000000000000000000001111111100000000000000000000111111111111111111100000000000000000011111111110000
00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000010000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000
00000011000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000
00000001111000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000
00000000111000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000
00000000111111000000000000011100000000111111111111111111111111111111111111111111111111100000001111000000
00000000111111100000000000000000001111111111111111111111111111111111111111111111111111111110001111000000
2. Section off the grid in columns of eight. If any rows are not divisible by 8, add enough 0's to
complete a column.
00000000 00000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11110000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000001 11111111 11000000 00000000 00000000 00001111 11111000 00000000 00000000
00000000 00000000 00000000 00000000 00111110 00000000 00000000 00000000 00000000 00000000 00000111 11100000 00000000
00000000 00000000 00000000 00000011 11000000 00000000 00111111 11111111 11111111 11110000 00000000 00011110 00000000
00000000 00000000 00000000 01111100 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11110000
00000000 00000000 00000001 10000011 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00001100
00000000 00000000 00000001 10001111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110
00000000 00000000 00000001 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110
00000000 00000000 00000001 11111111 11111111 11111111 11111000 00000000 00000000 11111111 11111111 11111111 11111110
00000000 00000000 00000001 11111111 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111111 11111100
00000000 00000000 00000000 01111111 10000000 00000000 00000111 11111111 11111111 00000000 00000000 00111111 11110000
00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000010 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000
00000011 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000
00000001 11100000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000
00000000 11100000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000
00000000 11111100 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000011 11000000
00000000 11111110 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100011 11000000
3. One row at a time, convert each group of eight binary digits to hex.
starting at position 49 ...
00111111 = 3F
11111111 = FF
11111111 = FF
11110000 = F0
4. Write the hex values for each row as a continuous string.
row 1, position 49 = 03FFFFFF00000
5. Repeat steps 3 through 4 for each row on the grid.
6. Insert the hex values in syntax format.

Creating Graphics 5-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents