Programming Manual

8. Custom Characters And Graphics

 

 

6.To store the custom designed character in memory using a binary data stream, the command would be:

<ESC>A

<ESC>T1B3F 01H 00H 03H 80H 07H C0H 0FH E0H 1FH F0H 3FH F8H 7FH FCH FFH FEH 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H 07H C0H

<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 for- mat. This is because we can send the binary equivalent of “11111111” (represented above in its hexidecimal value of FFH), 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>XMTHIS SIDE UP !

<ESC>Q1

<ESC>Z

The printer output for both the hexadecimal and binary format examples is:

SATO RISC Printers

203

Page 203
Image 203
SATO M-8400RV, XL400/410, M8460S, M8490S, M8485S, M8459S, CL408/412, CL608/612 manual Sato Risc Printers 203