dLSoft  barcode & labelling software     

QR Code Font Kit

The QR Code font kit includes the fonts and both 32 and 64 bit ANSI and Unicode DLLs and 32 and 64 bit Active-X components, and a fully-managed-code .NET component, allowing calls from most programming languages to convert a character string into a QR Code barcode.

The current version adds a component for .Net Standard 2.0 along with a sample application built with that component.

The kit supports QR Code and Micro QR Code symbols, Numeric, Alphanumeric Byte and Kanji modes, and security levels 0 - 3 (0 -2 for Micro QR).

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 Security level, and the encoding 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, VB6, VB.NET and Visual FoxPro. Also included are mailmerge samples for Access and Excel data sources.

See the Help file or manual

Push button  Try or Buy  to Download or buy

[QR Code is also supported by the Universal Barcode font kit]

QR Code screen shot showing Korean language

Demo program showing symbol made from Korean characters

QR Code is a matrix symbology consisting of a square array of modules with a finder pattern located at three corners. A wide range of symbol sizes is supported along with four levels of error correction, and the symbology is noted for its high data density.

QR Code barcode image         QR Code barcode image   QR Code barcodes

The components in the QR Code font kit convert the barcode data into a string of ASCII characters which, when displayed/printed in one of the fonts provided, appears as a collection of squares that form the QR Code barcode symbol.

The dLSoft libraries support QR Code Version 2 in Numeric, Alphanumeric, Byte and Kanji modes. (Kanji mode in the C DLL requires the use of the Unicode version, or pretreatment of the data to generate a byte stream).

The maximum data capacity of the symbols (at Level 0 error correction) are:

Numeric data            7089 digits
Alphanumeric data     4296 characters
Byte data                  2953 bytes

Note that Alphanumeric includes digits and uppercase letters, the space and the $ % * + - . / : characters only.

Micro QR Code

Micro QR Code symbols are very small QR Code symbols suitable for applications that require a smaller space and use smaller amounts of data than normal QR Code barcodes, such as ID of printed circuit boards and electronics parts, etc. The efficiency of data encoding has been increased with the use of only one position detection pattern.

Micro QR Code symbol    Micro QR Code symbol

The capacity of Micro QR Code symbols at the lowest error correction level is:

Numeric data            35 digits
Alphanumeric data     21 characters
Byte data                 15 bytes

QR Code Properties dialog

The properties of a barcode created using the QR Code font may be set programmatically by a call to one of the compoennts, or through the Barcode properties dialog (shown below).

QR Code properties dialog


Sample code in C/C++

A typical C/C++ call to the DLL to convert and output a text string is:

iCodetype=0;             // 0 for QR Code, 1 for Micro QR Code
iLevel=0;                     // 0 for default
iMode=1;                    // 0 for numeric, 1 for alpha, 2 for byte
n=Bar2Dqrf(&iCodetype,(LPTSTR)szData,&nl, &iFlags, &iLevel, &iMode,(LPTSTR)szBarcode);

szBarcode receives the multi-line text that forms the barcode.

The iFlags value may be used in the Unicode version to allow data to be encoded as Unicode, greatly simplifying the encoding of non-western character sets.

Sample code in VB

A typical VB call to the DLL to convert a text string is:

QRcnet1.CodeType = bCode.QRCode
QRcnet1.StartMode = 1     '=1 for Alpha mode
QRcnet1.SecurityLevel = 0
barcode1.Text = QRcnet1.Barcode()

The barcode text has been copied to a TextBox (barcode1)

Adding to an Access Form or Report

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 QROCX 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 QRocx control properties from the displayed menu.


Each kit may be licensed as a single PC product or as a developer/server version which permits Royalty-free of the components for up to 10,000 distributions.

System requirements

Requires Microsoft Windows 7/8/10 or Windows Server 2008 or later. 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 2008 - 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 scannable barcode.
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.