Zebra TTPM3 Especificaciones Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 112
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
56
Programming
Command Reference
01/06/2009 TTPM3 Installation and Programming Manual P1003642-001
Magnetic Encoding- and Decoding-related Commands
Track number and type of encoding (ISO standard or hexadecimal bit-by-bit) is determined by
the encoding command used as specified below:
Encoding
Syntax <command><message>
Encodes binary data to the specified track.
The bit order specified with parameters 19 to 21.
When using binary data you are in total control over the encoded data. Data is sent to the
printer as hex nibbles. You have to specify leading synchronization zeroes, start sentinel and
stop sentinel yourself.
Leading zeroes are used by the readers to determine swiping speed. The first 7 mm of the
tickets should contain leading zeroes. The start sentinel identifies the beginning of data. The
stop sentinel identifies the end of data. Trailing zeroes are used as leading zeroes if the ticket is
swiped backwards. These are added automatically by the printer, so do not add those to the
string.
!M 12345 Encodes 12345 on track 2
Track Encoding Method Encoding Commands Reading Characters
Track 1
210 bpi
ISO !J !D 1 79 ASCII alpha
Binary !B 1 !O 1 480 bits (120 hex)
Track 2
75 bpi
ISO !M !D 2 37 ASCII digits
Binary !B 2 !O 2 200 bits (50 hex)
Track 3
210 bpi
ISO !I !D 3 117 ASCII digits
Binary !B 3 !O 3 480 bits (120 hex)
Note • With HiCo encoding, only one track at a time can be used for encoding or reading. In
this case, code first track with | or $ in the magnetic string to return the ticket to active
position after coding, then reset the printer with !C, and code the other track and print the
ticket.
!B
Encode Binary data
21 42 Hex
33 66 Decimal
Example • In this example we have 15 leading zeroes, FF as a start sentinel and 99 as stop
sentinel. 15 leading zero nibbles give 15 x 4 bits = 60 bits at 210 bits/inch = 7.2 mm. FF as
start sentinel encode 11111111 which is easy to detect. 99 as stop sentinel encode 10011001,
equally easy to detect.
!B 1 000000000000000FF1234567890ABCDEF99<CR><LF>
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 111 112

Comentarios a estos manuales

Sin comentarios