Home:  Products:  Font Encoders & Tools:  ActiveX Font DLL for Barcode Fonts:

Unicode Compatible Windows ActiveX COM DLL

The Unicode Compatible Windows ActiveX COM DLL is a Font Tool that is used to format text for IDAutomation Barcode Fonts in Microsoft ActiveX or COM compliant applications. This product supports standard barcode fonts, Intelligent Mail fonts and the Universal Barcode Font. This product is royalty-free with the purchase of a license to one of the IDAutomation Barcode Fonts.

New functionality in this DLL allows Human Readable text and GS1-128 AIs to be generated within the Code 128 Font

 

INDEX:

Similar Products:
IDAutomation also provides a Native Windows Barcode DLL that does not use ActiveX or COM. Additionally, IDAutomation offers the ActiveX Barcode Control, which creates barcodes as images without fonts.

About the Unicode Compatible Windows ActiveX COM DLL

This 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 the functions were global functions. It is not necessary to explicitly create an instance of the class first, because one will automatically be created.

Licensing: IDAutomation's ActiveX Font DLL is free to use and distribute as long as it is used with one of IDAutomation's licensed barcode fonts. Redistribution of IDAutomation fonts and components requires a Developer License.

Tutorial for using the ActiveX DLL:

Step1: Register the DLL by running the InstallFontEncoderDLL.exe file. To register the ActiveX DLL manually perform the following:: Make sure the VB 6.0 runtime files are installed on the destination machine, 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".

Step2: After registering the DLL, it may be referenced from within the application. Refer to the application's documentation for instructions on how to do this. In Visual Basic 6.0 choose Project - References and select the IDAutomationDLL. Then reference the class and function as in the following example:

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

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

Barcode Functions

The functions listed below are available in IDAutomation's DLL and are only valid when used with the font listed in the "font to use" column. Functions beginning with IDAutomation_Uni_ are only to be used with the IDAutomation Universal Barcode Font Advantage™.

ActiveX DLL: IDAutomationFontEncoder.dll
DLL Reference Name: IDAutomationDLL
Class: FontEncoder
Universal Font Class: UniversalEncoder (only to be used with the IDAutomation Universal Barcode Font Advantage™.)

Methods for Standard Barcode Fonts
Barcode Type Method(s) & Notes  (Follow links for more information) Font to use
Code-11 Code11 (DataToEncode) IDAutomationC11
Code-128 Code128 (DataToEncode, C128 ReturnType, ApplyTilde)
NOTE: Code128() is the recommended method to use. Code128() is also used to create GS1-128.
Code128a (DataToEncode, C128 ReturnType)
Code128b (DataToEncode, C128 ReturnType)
Code128c (DataToEncode, C128 ReturnType)
Human Readable text is enabled when ReturnType = 6
Example: Code128("123456789012", 6, 0)
IDAutomationC128
Code-39 Code39 (DataToEncode)
Code39Mod43 (DataToEncode, ReturnType)
IDAutomationC39
Code-93 Code93 (DataToEncode) IDAutomationC93
Codabar Codabar (DataToEncode) IDAutomationCB
EAN-13 EAN13 (DataToEncode) IDAutomationUPCEAN
EAN-8 EAN8 (DataToEncode) IDAutomationUPCEAN
Interleaved 2 of 5 I2of5 (DataToEncode)
I2of5Mod10 (DataToEncode, ReturnType)
IDAutomationI25
MSI / Plessey MSI (DataToEncode, ReturnType) IDAutomationMSI
RM4SCC RM4SCC (DataToEncode) IDAutomationRM
UPC-A UPCa (DataToEncode) IDAutomationUPCEAN
UPC-E UPCe (DataToEncode) IDAutomationUPCEAN
USPS IntelligentMail IntelligentMail (DataToEncode) IDAutomationPOSTNET
USPS Postnet Postnet (DataToEncode, ReturnType) IDAutomationPOSTNET
USPS Planet Planet (DataToEncode, ReturnType) IDAutomationPOSTNET
not applicable MOD10 (DataToEncode) not applicable
not applicable SpliceText (DataToEncode, SpacingNumber, ApplyTilde) not applicable
Methods for the Universal Barcode Font
The functions listed below are preceded with IDAutomation_Uni_ and are only to be used with the IDAutomation Universal Barcode Font Advantage™.
Barcode Type Method(s) & Notes  (Follow links for more information) Font to use
Code-128 C128 (DataToEncode, ApplyTilde)
NOTE: Code128() is the recommended method to use. Code128() is also used to create GS1-128.
C128A (DataToEncode)
C128B (DataToEncode)
C128C (DataToEncode)
IDAutomation_Uni
not applicable C128HR (DataToEncode, ApplyTilde)
This method returns text for Code 128 barcodes, such as with GS1-128.
Text Font
Code-39 C39 (DataToEncode, N_Dimension, IncludeCheckDigit) IDAutomation_Uni
Codabar Codabar (DataToEncode, N_Dimension, StartChar, StopChar) IDAutomation_Uni
Interleaved 2 of 5 I2of5 (DataToEncode, N_Dimension, IncludeCheckDigit) IDAutomation_Uni
MSI / Plessey MSI (DataToEncode, N_Dimension, IncludeCheckDigit) IDAutomation_Uni
USPS IntelligentMail IntelligentMail (DataToEncode) IDAutomation_Uni
USPS Postnet Postnet (DataToEncode, IncludeCheckDigit) IDAutomation_Uni
USPS Planet Planet (DataToEncode, IncludeCheckDigit) IDAutomation_Uni

Description of the parts of the functions:

  • ApplyTilde - If the ApplyTilde option is set to True, characters following the tilde may be used to perform additional calculations or encode ASCII characters directly.
  • DataToEncode - this string value represents the data being encoded.
  • N_Dimension - determines the width of the wide bars, which is a multiple of the X dimension. Valid values are 2, 2.5 and 3. The default is 2. The X dimension is determined by the font point size.
  • IncludeCheckDigit - a Boolean value that determines whether a check digit should be automatically calculated and included for the DataToEncode.

Support

Free product support may be obtained by reviewing articles that are documented at IDAutomation's support site and by searching the resolved public help desk issues. Priority phone, email and help desk support is provided up to 30 days after purchase. Additional priority phone, email and help desk support may be obtained if the Priority Support and Upgrade Subscription is active.

Common Issues:

PDF417 and DataMatrix functions will not work unless the appropriate 2D font package is installed.
(Refer to the PDF417 FAQ for info on the PDF417 DLL.)
(Refer to the DataMatrix FAQ for info on the DataMatrix DLL.)

 

© Copyright 2000-2009 IDAutomation.com, Inc., All Rights Reserved.  Legal Notices.

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.