Custom Graphics Example - SATO M8485Se Programming Reference Manual

E/pro programming reference
Hide thumbs Also See for M8485Se:
Table of Contents

Advertisement

CUSTOM GRAPHICS EXAMPLE

The following example is presented to help you understand the use of the Custom Graphics command. It
demonstrates the design and printing of a diskette in a 48 x 48 matrix.
1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks
horizontally and six blocks vertically (48 x 48).
2. Lay out a grid and draw the image on the grid.
Each square represents one dot
Blacken squares for each printed dot
(7c)
3. Transfer the image into a bit map representation and then into hexadecimal format:
1
2
11111111
11111111
11111111
11111111
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11000000
00000000
11111111
11111111
11111111
11111111
E/Pro Programming Reference
BIT MAP
3
4
11111111
11111111
11111111
11111111
11111111
11111111
00000000
00000000
00000000
00000000
00000000
00000000
11111111
11111111
11111111
10000000
00000000
00000000
10000000
00000000
00000000
10011111
11111111
11111111
10000000
00000000
00000000
10000000
00000000
00000000
10011111
11111111
11111111
10000000
00000000
00000000
10000000
00000000
00000000
11111111
11111111
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000011
11000000
00000000
00000111
11100000
00000000
00001111
11110000
00000000
00001111
11110000
00000000
00001111
11110000
00000000
00001111
11110000
00000000
00000111
11100000
00000000
00000011
11000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000001
10000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000011
11000000
00000000
00000001
10000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
11111111
11111111
11111111
11111111
11111111
11111111
Unit 7: Appendix
5
6
11111111FF
11111111FF
00000011C0
00000011C0
11110011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
00010011C0
11110011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
00000011C0
11111111FF
11111111FF
7-4
HEXADECIMAL FORMAT
1
2
3
4
FF
FF
FF
FF
FF
FF
FF
FF
00
00
00
00
00
00
00
00
00
FF
FF
FF
00
80
00
00
00
80
00
00
00
9F
FF
FF
00
80
00
00
00
80
00
00
00
9F
FF
FF
00
80
00
00
00
80
00
00
00
FF
FF
FF
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
03
C0
00
00
07
E0
00
00
0F
F0
00
00
0F
F0
00
00
0F
F0
00
00
0F
F0
00
00
07
E0
00
00
03
C0
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
01
80
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
03
C0
00
00
01
80
00
00
03
C0
00
00
03
C0
00
FF
FF
FF
FF
FF
FF
FF
FF
5
6
FF
FF
FF
FF
03
03
03
03
03
03
13
13
13
13
13
13
13
13
03
03
13
13
13
13
13
13
F3
F3
03
03
03
03
13
13
13
13
13
13
13
13
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
03
FF
FF
FF
FF
PN: 9001096B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents