Datamax A-4310 Programmer's Manual page 210

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

Example Data
1-character specifying a normal or truncated bar code (T to truncate, F for normal).
F
1-digit security level ranging from 0 to 8.
1
2-digit aspect ratio specified as a fraction, with the first digit being the numerator
00
and the second digit the denominator. Use "00" for the default ratio of 1:2. Valid
range is from "00" to "99."
2-digit number specifying the number of rows requested. Use "00" to let the printer
00
find the best fit. Valid range is from "03" to "90". Row values less than 3 are set to
3, while row values greater than 90 are set to 90.
2-digit number specifying the number of columns requested. Use "00" to let the
00
printer find the best fit. Valid range is from "01" to "30". Column values greater
than 30 are set to 30.
The data stream to be encoded.
PDF417
Terminates the data stream.
<CR>
Note:
Format Record header fields c and d should both be zero.
Z:
PDF-417 with Byte Count Specifier
Specified Length – The upper case Z identifies a PDF-417 bar code with a string 4-digit length
specifier. This allows values 0x00 through 0xFF to be used within the data strings without conflicting
with the DPL format record terminators. The four-digit decimal data byte count immediately follows
the 4-digit column position field. This value includes all of the data following the byte count field, but
does not include itself.
<STX>L
D11<CR>
1Z00000001501000015F1000000pdf<0x0D>417<CR>
121100000000100Barcode Z<CR>
E
From the example above, the bar code's data stream,
1Z00000001501000015F1000000pdf<CR>417, now includes a Byte Count Specifier (the
portion in bold), where 0015 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. <STX>, <CR>,
and <0x0D> all represent single byte values of hexadecimal 02, 0D, and 0D, respectively. The PDF-
417 bar code produced encodes "pdf<CR>417", and prints a line of text: Barcode Z.
194
Appendix G – Barcode Details
Explanation
Barcode Z
Class Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents