Datamax E4203 All in One Printer User Manual


 
Appendix G
E-Class DPL Programmer’s Manual 115
z / Z: PDF417
Valid Characters: All ASCII characters.
Variable Length (z): This two dimensional barcode holds large amounts of data in a small area, while
providing a high level of redundancy and error checking, if specified.
Specified Length (Z): Same as the variable length; however, with a Byte Count Specifier values 0x00
through 0xFF can be used within the data string without conflicting with the DPL format record
terminators.
Record Structure: abcdeeeffff gggg [hhhh]ijkkllmmnn…n
Where:
Field Valid Inputs Meaning
a
1,2,3 and 4 Rotation
b
zandZ Lowercase selects the PDF417 bar code, variable length.
Uppercase selects the PDF417 bar code, with a Byte Count Specifier.
c
0 Module size horizontal multiplier
d
0 Module size vertical multiplier
eee
000 Not Used
ffff
0000 to 9999 Row
gggg
0000 to 9999 Column (see Appendix J)
[hhhh]
0000 to 9999 Optional string length specifier. Field termination is set by this byte
count. This decimal value includes all of the data following this byte
count field, but does not include itself.
i
T = truncated, F = normal Specifies barcode type
j
0–8 Security level
kk
00–99 Aspect ratio specified as a fraction; the first digit is the numerator and
the second the denominator. Use 00 for the default ratio of 1:2.
ll
03–90 Number of rows. Use 00 for calculated best fit (values less than 3
default to 3, values greater than default to 90).
mm
01–30 Number of columns (values greater than 30 default to 30).
nn…n
All ASCII characters. Data to be encoded.
Sample 1: The variable length example encodes “PDF417” with a security level one, a 1:2 aspect
ratio, best-fit rows and columns, and prints the bar code. A line of text is also printed.
<STX>L
D11<CR>
1z0000000150100F1000000PDF417<CR>
121100000000100Barcode z<CR>
E
Barcode z
Sample 2: The specified length example includes a byte count field for all bytes that follow until the
end of the barcode data. The byte count is 15. The symbology encodes “pdf<CR>417”,
and prints the barcode. Notice that a <CR> does not terminate the barcode format record.
A line of text is also printed.
<STX>L
D11<CR>
1Z00000001501000015F1000000pdf<0x0D>417
121100000000100Barcode Z<CR>
E
Barcode Z