Calls to DoDbarFnt may be used to generate linear Databar font-based barcodes without using a full BARCDOE2D structure.
Int WINAPI DoDbarFnt(LPSTR szin, int mode, LPSTR szout)
Where szin is a pointer to a string containing the barcode
data,
szout is a pointer to a string that will receive the font-based barcode
characters that form the symbol when displayed in the appropriate font. The
character buffer pointed to by szout must already exist and be large enough to
hold the output string.
mode is an integer which specifies the Databar
variant to be created; the allowed values are:
0 = Omnidirectional
1 = Truncated
2 = Limited
5 =
Expanded
Other values will return an err.
More: