The Databar font kit includes the fonts and both 32 and 64 bit DLLs and Active-X components, and a fully-managed-code .NET component, allowing calls from most programming languages to convert a character string into a GS1 Databar barcode.
The fonts provided allows for the creation of all variants of the Databar system at the minimum height/width ratios of the Databar specification. Fonts are provided in TrueType, OpenType, and Postcript formats and at several weights.
The DLL/OCX is suitable for calling from VB.NET, C#, Visual C++, Microsoft Office, Visual FoxPro, legacy Visual Basic 6 and many other development systems. The DLL/OCX provides control over the mode (Omnidirectional, Limited, Truncated, Stacked, Stacked Omnidirectional, Expanded and Expanded-Stacked) and (for the Expanded-Stacked variant) the number of codeword pairs per row of the symbol.
The OCX may be used through its properties, and the Caption property may be bound to a database field.
The kit includes examples (with source code) for C/C++, MS Access, VB6, VB.NET/C# and Visual FoxPro. Also included are mailmerge samples for Access and Excel data sources.
The GS1 DataBar symbology - formerly known as EAN.UCC Reduced Space Symbology (RSS) - is a family containing three linear symbologies and three stacked variants, known as GS1-DataBar barcodes. GS1-DataBar-14 encodes the full 14 digit GS1/EAN/UCC item identification in a linear symbol that can be scanned in any direction.
GS1 Databar barcode
GS1-DataBar Limited encodes item identification suitable for use on small items, but not for use at point-of-sale, while GS1-DataBar -Expanded encodes the 14 digit GS1/EAN/UCC item identification plus supplementary AI elements.
GS1-DataBar -14 Stacked is a variant which is stacked in two rows, either as a truncated version (above) used for small item marking, or as an omni-directional version (below) designed to be read by omnidirectional scanners.
The GS1-DataBar -14 based versions encode the full 14 digit GS1/EAN/UCC item identification number and this may be prefixed with the (01) AI – although this is NOT encoded.
The dLSoft DataBar implementation uses the following Start Mode property values to specify the symbol:
|Start Mode||DataBar version|
|4||DataBar-14 Stacked Omnidirectional|
|6||DataBar Expanded Stacked|
All DataBar symbols are based on Xunit size, where the Yunit (height) is treated as a multiplier of the Xunit value.
DataBar Expanded may be used to encode AIs in addition to the item identification number as listed below:
(01)………(3103)…… - 6 digit metric weight
(01)………(3202)…… - 6 digit pound weight
(01)………(392x)…… - 3 digit price
(01)………(393x)…… - 3 digit ISO currency code followed by price
(01)..……..(310x)…….(yy)…….. – metric weight and six digit date
(01)…..…..(320x)…….(yy)…….. – English weight and six digit date
(where yy may be 11 (production date), 13 (packaging date), 15 (best before date) or 17 (expiration date).
The properties of a barcode created using the Databar font may be set programmatically by a call to one of the compoennts, or through the Barcode properties dialog (shown below).
A typical C/C++ call to the DLL to convert and output a text string is:
// 0 for default
iMode=6; // 6 for Expanded-Stacked mode
n=Bar2Drsf(&iMode,(LPTSTR)szData,&nl, &iColumns, (LPTSTR)szBarcode);
szBarcode receives the multi-line text that forms the barcode.
A typical VB call to the DLL to convert a text string is:
Dbarfnet1.StartMode = 6 '=6
for Expanded-Stacked mode
Dbarfnet1.Caption = "050123456789012345"
barcode1.Text = Dbarfnet1.Barcode()
The barcode text has been copied to a TextBox (barcode1)
To add the control to an Access Form or Report, open the form or report in Design view and ensure that the Toolbox is visible. Select the “More controls” icon on the Toolbox and then select the DBAROCX Active-X Control module from the list of controls displayed. Draw a rectangle for the control on the from or report.
Once added to a form or report, selection of the control will show the available properties in Access’s properties window. The font should be set by right-clicking on the control and choosing the Dbarocx control properties from the displayed menu.
Each kit may be licensed as a single computer product or as a developer version which permits Royalty-free of the components for up to 10,000 distributions.
Requires Microsoft Windows Vista/Windows 7/Windows 8/10. To obtain printed barcodes a Windows compatible printer is required. One of the tools provided must be used for conversion of data into a barcode.
C++ and C# sample code included is designed for use with Visual Studio 2005 - 2017.
The 32 bit components may be installed on either 32 or 64 bit systems. 64 bit components require a 64 bit operating system.
Except where otherwise stated, the .NET components are designed for use with .NET Framework 2.0 or later
*Note: Testware versions randomly scramble characters, but otherwise provides a
The fonts are not suitable for use without the one of the provided components to create the barcode.
All developer font products include an embedding licence so that fonts may be embedded into Acrobat pdf pages (see sample pdf document).
View 2D Barcode Font kits help files - see the Home menu above.