The barcode object supplies the information
required to display a barcode. This information includes the type
of barcode and a set of options that varies from one type of barcode
to another.
Designer can support two types of barcodes: hardware and software.
However, an XFA application is not required to support any particular
set of barcodes. Hardware barcodes are displayed by particular printers.
The set of supported barcodes may vary depending on the display
device, because some printers have built-in support for particular
barcodes. Software barcodes are drawn stroke by stroke by the XFA
application itself. When displaying on a screen, which is not accessible
to barcode readers, an XFA application may also revert to displaying just
a placeholder rather than an accurate barcode.
For each type of barcode there are usually two separate specifications,
one for the barcode itself and one for the barcode’s placement in
relation to the physical page and to surrounding printed matter.
The creator of the form design is responsible for ensuring that
the barcode is placed correctly on the page. The XFA application
is responsible for correctly rendering the barcode using the user data.
The user data must be compatible with the barcode; that is, it must
conform to the allowed character set and string length.