SATO CL412E Printer User Manual


 
3. Transfer the image into two bit map representations and then into hexadecimal or
binary format.
4. To store the custom designed character in memory using a hexadecimal data
stream, the command would be:
<ESC>A
<ESC>T1H3F0100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C007C007C007C
0<ESC>Z
Note: This should be a continuous data string without any CR or LF characters.
5. To recall the custom character from memory, send the following code to the
printer. Note that you can print other data as well. Also note how the character size
was expanded using the <ESC>L command.
<ESC>A
<ESC>L0505<ESC>H0150<ESC>V100<ESC>K1H903F
<ESC>L0505<ESC>H0600<ESC>V100<ESC>K1H903F
<ESC>L0303<ESC>H0125<ESC>V0250<ESC>MTHIS SIDE UP !
<ESC>Q1
<ESC>Z
6. To store the custom designed character in memory using a binary data stream, the
command would be:
<ESC>A
<ESC>T1B3F 01
H
00
H
03
H
80
H
07
H
C0
H
0F
H
E0
H
1F
H
F0
H
3F
H
F8
H
7F
H
FC
H
FF
H
FE
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
07
H
C0
H
<ESC>Z
NOTE: Spaces are shown between hexidecimal values in the above example for clarity only and
are not
included in the data string.
Note that the data stream is only half as long as the hexadecimal format. This is
because we can send the binary equivalent of “11111111” (represented above in its
hexidecimal value of FF
H
), for example, using one eight bit word while it takes two
eight bit words to transmit the hexadecimal equivalent “F” and “F”. To send binary
characters using BASIC, the expression “CHR (&HFF) will send the binary equivalent
of FF (i.e., 11111111).
Page C-2 9001074 Preliminary SATO CL Series “e” Printers
Appendix C: Custom Characters and Graphics
ROW BIT MAP HEX
1 0000 0001 0000 0000 01 00
2 0000 0011 1000 0000 03 80
3 0000 0111 1100 0000 07 C0
4 0000 1111 1110 0000 0F E0
5 0001 1111 1111 0000 1F F0
6 0011 1111 1111 1000 3F F8
7 0111 1111 1111 1100 7F FC
8 1111 1111 1111 1110 FF FE
9 0000 0111 1100 0000 07 C0
10 0000 0111 1100 0000 07 C0
11 0000 0111 1100 0000 07 C0
12 0000 0111 1100 0000 07 C0
13 0000 0111 1100 0000 07 C0
14 0000 0111 1100 0000 07 C0
15 0000 0111 1100 0000 07 C0
16 0000 0111 1100 0000 07 C0