Zebra II Dokumentacja Strona 148

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 412
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 147
ZPL Commands
~DG
128
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
ExamplesThese are some example related to the ~DG command:
To determine the
t parameter use this formula:
To determine the correct t parameter for a graphic 8 mm wide, 16 mm high, and a print
density of 8 dots/mm, use this formula:
Raise any portion of a byte to the next whole byte.
To determine the
w parameter (the width in terms of bytes per row) use this formula:
To determine the correct
w parameter for a graphic 8 mm wide and a print density of 8
dots/mm, use this formula:
Raise any portion of a byte to the next whole byte.
Parameter
w is the first value in the t calculation.
The data parameter is a string of hexadecimal numbers sent as a representation of the graphic
image. Each hexadecimal character represents a horizontal nibble of four dots. For example,
if the first four dots of the graphic image are white and the next four black, the dot-by-dot
binary code is 00001111. The hexadecimal representation of this binary value is 0F. The
entire graphic image is coded in this way, and the complete graphic image is sent as one
continuous string of hexadecimal values.
xz
8
------yz× totalbytes=
⎛⎞
8 128 1024=×
t 1024=
⎛⎞
w8=
⎛⎞
w8=
Przeglądanie stron 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 411 412

Komentarze do niniejszej Instrukcji

Brak uwag