Intermec PF4i Intermec Printer Language (IPL) Developer's Guide (old) - Page 32

How Data is Stored on an RFID Tag, Writing Hex or ASCII Formats, Writing Numerical Formats

Page 32 highlights

Chapter 2 - Designing Bar Code Labels How Data is Stored on an RFID Tag Data written to the RFID tag is stored from the left starting with the byte that is defined as the start of field byte and then going the length of the defined field (in bytes). Writing Hex or ASCII Formats If the tag format is hex or ASCII and the field source data string is shorter than the allocated number of bytes, the data string's least significant bytes (from the right) are padded with zeroes until they fill the length of the field. If the field source data string is longer than the allocated number of bytes, the error is sent and nothing is written to the tag. If auto-transmit level 3 is enabled, an status response is returned to the host. Writing Numerical Formats If the tag format is numerical (NUM), the data is stored as a numerical value. In this tag format, if the field source data string is shorter than the allocated number of bytes, the data string's most significant bytes (from the left) are padded with zeroes until they fill the length of the field. Note: The number of bytes needed to represent a numerical value is never greater than the number of bytes needed to represent the number as a data string. Creating a Sample Label Format In this example, you will design a simple label that includes a human-readable field, a line field, and a bar code field. On a blank label, sketch a format that looks roughly like the sample. Use a humanreadable field and a barcode field, and separate them with a line field. THIS IS THE SAMPLE LABEL *SAMPLE* *SAMPLE* Sample Label: This sample uses a human-readable field, a line field, and a bar code field with interpretive field enabled. 22 Intermec Printer Language (IPL) Developer's Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

Chapter 2 — Designing Bar Code Labels
22
Intermec Printer Language (IPL) Developer’s Guide
How Data is Stored on an RFID Tag
Data written to the RFID tag is stored from the left starting with the byte that is
defined as the start of field byte and then going the length of the defined field (in
bytes).
Writing Hex or ASCII Formats
If the tag format is hex or ASCII and the field source data string is shorter than the
allocated number of bytes, the data string’s least significant bytes (from the right)
are padded with zeroes until they fill the length of the field.
If the field source data string is longer than the allocated number of bytes, the error
<EOT> is sent and nothing is written to the tag. If auto-transmit level 3 is enabled,
an <EOT> status response is returned to the host.
Writing Numerical Formats
If the tag format is numerical (NUM), the data is stored as a numerical value. In this
tag format, if the field source data string is shorter than the allocated number of
bytes, the data string’s most significant bytes (from the left) are padded with zeroes
until they fill the length of the field.
Creating a Sample Label Format
In this example, you will design a simple label that includes a human-readable field,
a line field, and a bar code field.
On a blank label, sketch a format that looks roughly like the sample. Use a human-
readable field and a barcode field, and separate them with a line field.
Sample Label:
This sample uses a human-readable field, a line field, and a bar code field with
interpretive field enabled.
Note:
The number of bytes needed to represent a numerical value is never greater
than the number of bytes needed to represent the number as a data string.
THIS IS THE SAMPLE LABEL
*SAMPLE*
*SAMPLE*