4-12 LNT Programmer’s Manual
Defining the PDF417 Options Tag (Optional)
Use the Options tag to define PDF417-specific information.
Valid values include: a 32-bit unsigned decimal number.
It contains the following attributes: density, security, compact, rows, and columns.
Syntax <Options density=”value” security=”value” compact=”value”
rows=”value” columns=”value” />
density Bar code density. If a density is not selected, the default is set to the smallest
size that fits the data. Options: 1 to 9 as shown below.
Selector
in Dots/Mils
in Dots/Mils
1 2 / 9.8 2 / 9.8 1:1
2 2 / 9.8 4 / 19.7 1:2
3 2 / 9.8 6 / 29.6 1:3
4 3 / 14.8 3 / 14.8 1:1
5 3 / 14.8 6 / 29.6 1:2
6 3 / 14.8 9 / 44.3 1:3
security Sets the security level of the bar code. Higher security levels add data to a
bar code, improving scan reliability. Some damaged bar codes may still be
scannable if the security level is high enough. Options: 0 to 8. The default is
0.
compact Print the bar code in Compact mode. Compact mode omits the right line
number codeword and reduces the stop pattern to a single bar. Options:
0 Prints in standard mode.
1 Prints in Compact mode.
rows The number of rows can be set to change the shape of the bar code.
columns The number of columns can be set to change the shape of the bar code.
Example <Options density=”3” security=”4” />
Creates a PDF417 bar code using a density of 3 and a security level of 4.
Defining Data for POSTNET (Optional)
The Data tag contains the data for the POSTNET bar code.
Valid values include: Any Unicode string less than 2K characters.
Syntax <Data>”string”</Data>
Density
Selector
Density
(% or cpi)
Narrow Element Width
in Dots/Mils
Narrow to Wide
Ratio
Data Length
4.3 cpi)
12
Example <Data>”28028”</Data>
Prints the data 28028 in a POSTNET bar code.