|
Barcode, labelling and utility software |
Quick_links...Search siteTrial productsOnline tutorials Products
|
Universal 2D Barcode Font kitThe Universal 2D Barcode Font kit includes the fonts and both 32 and 64 bit DLLs and Active-X components, a fully-managed-code .NET (version 2 or later only) component, and a Java class, allowing calls from most programming languages to convert a character string into an Aztec, Datamatrix, PDF417, QR Code barcode, plus a 32 bit UFL for use within Crystal Reports*. The kit does NOT support GS1 Databar, and support for QR Code is currently excludes Kanji mode. The DLL/OCX is suitable for calling from Visual Basic, VB.NET, C#, Visual C++, Microsoft Office, Delphi, C++ Builder and many other development systems. The DLL/OCX provides control over the Aspect ratio of the barcode (Height/Width ratio), the Security level, and the encoding Start Mode. 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, Crystal Reports*, Java, VB6 and VB.NET. Also included are mailmerge samples for Access and Excel data sources.
Push button
Sample code in C/C++A typical C/C++ call to the DLL to convert and output a text string is:
iCodetype=2;
// 2 for PDF417 [Alternative string handling routines may be preferred] Sample code in VBA typical VB call to the DLL to convert a text string is: U2dnet1.CodeTypeValue = 2
' =2 for PDF417 The barcode text has been copied to a TextBox (barcode1) Adding to an Access Form or ReportTo 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 U2DOCX 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 U2docx control properties from the displayed menu. Using the dFontU2D Java classThe dFontU2D Java class may be used to return strings that contain rows of characters that, when displayed in the correct font form an Aztec, Datamatrix, Databar, PDF417 or QR Code symbol. The class may be used directly or through the dFontU2D.jar provided. The class is instantiated with the new command: dFontU2D u2d1=new dFontU2D(); and the required properties set using the setCodeType(), setModeType() and setLevel() methods. The data is supplied to the class using the setCaption() methods and the update() method called to generated the barcode characters. The number of rows of characters in the resulting barcode may be obtained from the getNStrings() method, and each line of the barcode returned using getBarcodeString(i), eg. // g is output graphics – screen or printer LicensingEach 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. System requirementsRequires Microsoft Windows 2000/XP/2003/Vista/Windows 7. 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. 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 component is designed for use with Visual Studio 2005/.NET Framework 2.0 or later. Supports x32, x64 and IA64.
*Note: Testware versions randomly scramble characters, but otherwise provides a scannable barcode. All developer font products include an embedding licence so that fonts may be embedded into Acrobat pdf pages (see sample pdf document) or font objects created for embedding barcodes into web pages (see demo page). View the Universal 2D Barcode Font kit help files - see the Home menu above.
|
|
Sites operated by DL Technology Ltd
dLSoft is a registered trade mark of DL Technology Ltd, a company registered in England number 3615271
dLSoft - Award-winning publisher 2006, 2007 & 2008 |