Appendix C: Custom Characters and Graphics
SATO Programming Reference Page C - 3
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).
7. To recall the custom character from memory, send the following code to the
printer:
<ESC>A
<ESC>L505<ESC>H0150<ESC>V100<ESC>K1B903F
<ESC>L505<ESC>H0600<ESC>V100<ESC>K1B903F
<ESC>L0303<ESC>H0125<ESC>V0250<ESC>XMTHISSIDE UP !
<ESC>Q1
<ESC>Z
The printer output for both the hexadecimal and binary format examples is: