Font-based barcodes

Font-based barcodes may be created for the following barcode types using the fonts shown in the table below.

 

Barcode

font

Aztec

AZTxx

Datamatrix

AZTxx

PDF417

PDnxx

MicroPDF417

PDnxx

QR Code

AZTxx

Micro QR Code

AZTxx

Databar Omnidirectional

UNxxx

Databar Truncated

UNxxx

Databar Limited

UNxxx

Databar Expanded

UNxxx

Where n in the PDnxx font names specifies the height/width ratio of the smallest bar and may be 2, 3,4 or 5), and xx specifies the font weight. For most modern laser printers the W fonts are recommended. The R (reduced) and N (narrow) fonts are provided for use with printing systems in which the printing ink spreads. R fonts are reduced in size by 8% and N fonts by 16%.

The UNxxx fonts are provided in the following height/width ratios:

UNA    50:1
UNB    33:1
UNC    25:1
UND    20:1
UNE    15:1

The fonts are copied to the fonts folder of the installation directory during installation. They are NOT “installed” and are not immediately available to Windows. To install the fonts open the Windows Control Panel Fonts applet, select Install New Font from the File menu and navigate to the fonts folder of the installation directory to select the fonts you wish to install.

Font based barcodes are created by using the Bar2Dfnt() call. This call passes a BARCODE2D structure to the library, and receives a string of characters that will form the barcode when displayed/printed using the correct font.

One of the main uses of font-based barcodes is the storing of barcodes in spreadsheets and databases without requiring the memory overhead of graphic barcodes.

More:

Note on Excel

Mail-merge