Defining Bar Code Options 4-3
Defining the Code 39 Options Tag (Optional)
Use the Options tag to define Code 39-specific information.
Valid values include: a 32-bit unsigned decimal number.
It contains the following attributes: density, narrowbar, widebar, narrowspace, widespace,
interchargap, and mod43cd.
Syntax <Options density=”value” narrowbar=”value” widebar=”value”
narrowspace=”value” widespace=”value” interchargap=”value”
mod43cd=”value” />
density Bar code density. Options: 1 to 7, 11, 12, and 20 shown below. The default is
7.
Selector
(% or cpi)
in Dots/Mils
Ratio
1 1.4 10 / 49.3 1:2.5
2 1.7 8 / 39.4 1:2.5
3 3.5 4 / 19.7 1:2.5
4 4.2 3 / 14.8 1:3.0
6 6.3 2 / 9.9 1:3.0
7 7.0 2 / 9.9 1:2.5
11 3.9 4 / 19.7 1:2.0
12 12.7 1 / 4.9 1:2.0
20 3.0 5 / 24.6 1:2.2
widebar
narrow space
wide space
Use the density table above. Using a non-standard value may produce
unreadable bar codes. Define in Pixels.
interchargap The inter character gap between two character representations. This is usually
defined the same as narrowspace. Define in Pixels.
mod43cd Enable Mod43 check digit? Options:
0 Disable
1 Enable (Extended Code 39)
Example <Options density=”6” mod43cd=”1” />
Creates a Code 39 bar code with a density of 6 and the bar code prints as an Extended Code
39 bar code.