Font DLL for Bar Code Fonts

The Font DLL can be easily integrated into your ActiveX compliant application or development environment for barcode automation purposes. Our DLL contains functions for our DataMatrix, PDF417, POSTNET, PLANET, Code 39, Interleaved 2 of 5, Code 128, UPC-A, EAN-13, EAN-8, UCC-128, MSI / Plessy, Code 11, RM4SCC, 4-State, SSCC-18 and SCC-14 barcode fonts and specifications.


The purpose of this Font DLL is to return a string formatted to one of our barcode fonts. If your application supports ActiveX Controls in Windows, we also sell easy to use "drag and drop" ActiveX Controls that may be easier to use in your application. Our Barcode ActiveX Controls have been tested in Microsoft Word, Access, Excel, Visual Basic and C++. In addition, our ActiveX Controls do not have any runtime requirements.

Our Font DLL is a "Global Multi-Use" DLL that supports Microsoft's Component Object Model (COM) and ActiveX Data Objects (ADO) 2.0. Because the DLL is Global Multi-Use, methods of the class (barcode functions) can be invoked as if they were global functions. It’s not necessary to explicitly create an instance of the class first, because one will automatically be created. We also have a (non-global) ActiveX "Multi-Use" DLL that also works as a UFL for Crystal Reports.

Licensing: Our ActiveX Font DLL is free to use and distribute with your application as long as you are using it with one of our licensed barcode fonts. Redistribution of our fonts and components requires a Corporate or Distribution License.


Tutorial for using the ActiveX DLL:

Step1: Register the DLL. This can be accomplished automatically by an application installation utility or manually. To register the ActiveX DLL manually perform the following:

Step2: Make sure the VB 6.0 runtime files are installed on the destination machine; then, copy the DLL to the Windows\System directory and register it. To do this, go to the command prompt, change to the Windows\system directory and type the following command: REGSVR32 "IDAutomationFontEncoder.dll".

Step3: After registering the DLL, you can reference it from within your application. Refer to your application's documentation to find out how to do this. In Visual Basic 6.0 you need to choose Project - References and select the IDAutomationDLL. Then reference the class and function in your code as in this example:

   'Get input from user
StringToEncode = InputString.Text
        'Format the Output by calling the "IDAutomationDLL.Postnet()" function
Output = IDAutomationDLL.Postnet(StringToEncode,"0")
        'Show the Printable Barcode String
PrintableBarcodeString.Text = Output

A Visual Basic project example is also included with the DLL file in the download package. 

The following barcode functions are available for the ActiveX DLL:

ActiveX DLL: IDAutomationFontEncoder.dll
DLL Reference Name: IDAutomationDLL
Class: FontEncoder
Functions: listed below
PDF417 and DataMatix functions will not work unless the appropriate 2D font package is installed on that PC also.

For all functions below the data input type is a single string. A number may be required for additional parameters. For example, Code128c("123456",0). For all number symbologies such as POSTNET and UPC, you may input dashes or spaces for easier readability and they will be filtered out by the function before the barcode is generated. For UPC-A, UPC-E & EAN-13 you can enter the +2 and +5 add-on codes by just adding them to the end of the string. 

Function Notes
Code128(Data, Number) If you are not sure which Code 128 set is for your application, then use this one. This is a "Code 128 Auto" function that will automatically encode any data from ASCII 0 to ASCII 127. It will automatically switch to character set C for numbers also.
To encode alpha-numeric UCC/EAN-128, ASCII 202 or character E is entered as the FNC1 before each AI. For example, the UCC number of (8100)712345(21)12WH5678 should be entered as: E8100712345E2112WH5678.
(Data, 0) formats barcode output string for the Code 128 barcode fonts.
(Data, 1) returns the human readable data.
(Data, 2) returns only the check digit.
Code128a() Use the characters from set B to print characters not on the keyboard; the scanner will scan characters from set A. Formats output to the Code 128 barcode fonts.
Code128b() Returns codes formatted to the Code 128 character set B. Formats output to the Code 128 barcode fonts.
Code128c(Data, Number) This code128 function "interleaves" numbers into pairs for high density.
(Data, 0) formats output to the Code 128 barcode fonts.
(Data, 1) returns the human readable data with the check digit included.
(Data, 2) returns only the check digit.
I2of5() This function "interleaves" numbers into pairs for high density without check digits and formats the return string to the Interleaved 2 of 5 font.
I2of5Mod10(Data, Number) (Data, 0) performs the mod10 checksum calculation for increased accuracy and formats the return string to the Interleaved 2 of 5 font. MOD 10 checksums are required by USPS for special services and for SSC-14 when using Interleaved 2 of 5 for that purpose.
(Data, 1) returns the human readable data with the MOD10 check digit included.
(Data, 2) returns the MOD10 check digit.
Code39() Formats the output to print using Code 39 fonts.
Code39Mod43(Data, Number) (Data, 0) performs the mod43 checksum calculation for increased accuracy and then formats the output to print using Code 39 fonts. The mod43 checksum is usually required for LOGMARS applications.
(Data, 1) returns the human readable data with the check digit included.
(Data, 2) returns only the check digit.
Codabar() Formats the output to print using Codabar fonts.
UCC128() Use this function for UCC/EAN-128 applications when you have already generated your MOD10 check digit if required. Supports UCC-128, EAN-128, SCC-18 and SCC-14. FNC1 automatically included after start digit, enter "FA" between even numbers for additional FNC1 Codes. Formats the output to print using Code 128 fonts.
SCC14(Data, Number) SCC14(Data, 0) generates the MOD10 required and then formats the output to print EAN-14 and SCC-14 using Code 128 fonts. The input for Data must be a 13 to 17 digit number, however, only 13 are needed. The required application identifier of (01) is automatically added.
SCC14(Data, 1) returns the human readable data for SCC14 / EAN14.
SCC14(Data, 2) returns the MOD10 check digit.
SSCC18(Data, Number) SCC18(Data, 0) generates the MOD10 required for SSCC-18 and then formats the output to print SSCC-18 using Code 128 fonts. The input for Data must be a 17 to 21 digit number, however, only 17 are needed. The required application identifier of (00) is automatically added.
SCC18(Data, 1) returns the human readable data for SCC-18.
SCC18(Data, 2) returns the MOD10 check digit.
Postnet(Data, Number) Enter a single string of Zip, Zip + 4 or Zip + 4 + Delivery Point. The input for Data must be a number and can include dashes and spaces.
(Data, 0) formats output to the POSTNET barcode fonts.
(Data, 1) returns the human readable data with the check digit included.
(Data, 2) returns only the check digit.
USPSss(Data, Number) Used for 20 digit USPS special services numbers with Code 128 fonts. Enter a 19 or 20 digit number; only the first 19 are used.
(Data, 0) formats output to the Code 128 barcode fonts.
(Data, 1) returns the human readable data with the check digit included.
(Data, 2) returns only the check digit.
RM4SCC() Formats the output to print using RM4SCC fonts. Checksum calculated according to the mailsort customer barcoding specification.
MSI(Data, Number) (Data, 0) formats output to the MSI barcode fonts.
(Data, 1) returns the human readable data with the check digit included.
(Data, 2) returns only the check digit.
Code11() Only the "C" check digit is calculated which is the standard when encoding 10 digits or less.
UPCa() Enter UPC-A with or without a check digit, add-ons are supported. Formats output to the UPC/EAN barcode font.
UPCe() Enter the full 11 or 12 digit UPC-A number. The purpose of this function is to print the UPC-E barcode from a UPC-A barcode that can be compressed. It will print a UPC-A if it cannot be compressed by zero suppression rules. Formats output to the UPC/EAN barcode font.
EAN13() Enter EAN-13 with or without a check digit, add-ons are supported. Formats output to the UPC/EAN barcode font.
EAN8() Enter exactly 7 characters (EAN-8 without the check digit). Formats output to the UPC/EAN barcode font.

Barcode Fonts

Business Software

MS Excel Spreadsheets, Add-ins, Templates

Barcode Printers

Barcode Scanners

Home