Oki X400 X400 Programming Command Manual - Page 132
<ESC>A, <ESC>K1B3F, <ESC>Z, <ESC>L0303<ESC>H125<ESC>V250<ESC&
View all Oki X400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 132 highlights
6. To store the custom designed character in memory using a binary data stream, the command would be: A K1B3F 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 Z Note: Spaces are shown between hexadecimal values in the above example for clarity only and are not included in the data string. Note that the data string is only half as long as the hexadecimal format. This is because we can send the binary equivalent of "11111111" (represented above in its hexadecimal 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: A L0505H150V100K1H903F L0505H600V100K1H903F L0303H125V250MTHIS SIDE UP ! Q1Z The printer output for both hexadecimal and binary format examples is: 130