SATO D508 Service Manual Page 231

  • Download
  • Add to my manuals
  • Print
  • Page
    / 290
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 230
Unit 7: Appendix
E/Pro Programming Reference
7-3 PN: 9001096E
4. To store the custom designed character in memory using a hexadecimal data stream:
<ESC>A
<ESC>T1H3F0100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C007C007C007C0
<ESC>Z
5. To recall a custom character from memory, send the following code to the printer. Note the character size was
expanded using the <ESC>L command. Other data can also be printed.
<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:
<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
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.
(7b)
NOTE: The data stream is only half as long as the hexadecimal format because
sending 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).
Page view 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 289 290

Comments to this Manuals

No comments