beautypg.com

Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 212

background image

Appendix G – Barcode Details

Class Series Programmer’s Manual

198

W1C:

DataMatrix with Byte Count Specifier

Specified Length – The upper case C identifies a DataMatrix bar code with a string 4-digit length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data

byte count

immediately follows the four-digit column position field. This value includes all of the data following
the byte count field, but does not include itself.

L
D11
1W1C440000100010000292000000000Datamax<0x0D>prints best
121100000000100Barcode W1C
E

From the example above, the bar code’s data stream,
1W1C440000100010000292000000000

Datamax<0x0D>prints best

, includes a Byte Count Specifier (the

portion in bold), where 0029 equals the four-digit decimal data byte count
and includes all bytes that follow until the end of the bar code data. Field
termination is set by the byte count. , , and <0x0D> all
represent single byte values of hexadecimal 02, 0D, and 0D, respectively.
The DataMatrix bar code produced encodes “Datamaxprints best,”
and prints a line of text: Barcode W1C.

Barcode W1C