Morovia QRCode Fonts & Encoder 5 Reference Manual

Revision: 11739

All contents of this document are furnished for informational use only and are subject to change without notice and do not represent a commitment on the part of Morovia Corporation or its subsidiaries (Morovia). Reasonable effort is made to ensure the accuracy of the information contained in the document. However, Morovia does not warrant the accuracy of this information and cannot accept responsibility for errors, inaccuracies or omissions that may be contained in this document.

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH MOROVIA® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN A SIGNED AGREEMENT BETWEEN YOU AND MOROVIA, MOROVIA ASSUMES NO LIABILITY WHATSOEVER, AND MOROVIA DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF MOROVIA PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHT OF A THIRD PARTY.

Morovia is a trademark of Morovia Corporation. Other product and company names mentioned herein may be the trademarks of their respective owners.

March 2022

Table of Contents

1. Introduction
1.1. Installing Morovia QRCode Fonts & Encoder 5
1.1.1. To Install from a CD
1.1.2. To Install from Direct Download
1.2. Limitations of Trial Version
1.3. Backward Compatibility
1.3.1. Font Encoder DLL
1.3.2. Crystal Reports
1.3.3. Input Format Change for Structural Append
1.3.4. Unicode Encoding Support
2. Overview
2.1. What is QR Code?
2.1.1. Encoding Character Set
2.1.2. Options
2.2. Input Format
2.2.1. Center Overlay Block
2.2.2. Kanji Block
2.2.3. Extended Channel Interpretation (ECI)
2.2.4. Structural Append (SA)
2.2.5. FNC1 (First Position)
2.2.6. FNC1 (Second Position)
2.2.7. Unicode String Support
2.3. Working with QRCode Fonts & Encoder 5
2.3.1. Font-Based
2.3.2. Image File Based
2.3.3. ActiveX Control
3. Using Encoder GUI
3.1. Export Images
3.2. Export Options
3.3. Parity Calculator
4. Word Add-In
4.1. Install/Remove Add-In
4.2. Creating Single Barcode
4.3. Creating Multiple Barcodes
4.4. Mail Merge
5. Adding QR Code Symbols to Crystal Reports
5.1. User Function DLL
5.2. Working with Crystal Reports
5.3. Distributing UFL, Fonts with your report application
6. Adding QR Codes in Microsoft Office
6.1. VBA Module
6.1.1. To Import VBA Module
6.2. Word Mail Merge
6.3. Using QRCode ActiveX in Word and Excel
6.3.1. Inserting QRCode ActiveX into Word/Excel
6.3.2. Editing QRCode ActiveX Object
6.3.3. Data Binding in Excel
6.4. Adding QR Code in Access Reports
6.5. Adding QR Code to InfoPath
6.5.1. Adding QRCode Control to Custom Controls
6.5.2. Inserting Barcode into Form Template
7. Developing Application with QRCode Fonts & Encoder
7.1. Common Issues
7.1.1. Color Types
7.1.2. Version
7.1.3. Error Codes
7.2. Windows Native DLL Interface
7.3. ActiveX Control Interface (COM)
8. Encoder DLL API Reference
8.1. ImageTypeEnum
8.2. QRCodeEncode
8.3. QRCodeEncode2
8.4. QRCodeEncode2W
8.5. MicroQRCodeEncode
8.6. MicroQRCodeEncode2
8.7. HIBC_QRCodeEncode
8.8. HIBC_QRCodeEncode2
8.9. QRCodeResultGetVersion
8.10. QRCodeResultGetBarcodeString
8.11. DestroyQRCodeEncodeResult
8.12. PaintQRCodeImageRaster
8.13. PaintQRCodeImageVector
8.14. PaintQRCodeImageRaster2
8.15. PaintQRCodeImageVector2
8.16. PaintQRCodeImageEMF
8.17. QRCodeGetErrorMessage
8.18. QRCodeResultGetBarcodeString2
8.19. PaintQRCodeImageClipboard
8.20. QRCodeGetParity
9. QRCode ActiveX Reference
9.1. Specification
9.2. Enumerations
9.3. Properties
9.4. ActualVersion Property
9.5. BackColor, ForeColor Properties
9.6. ECLevel Property
9.7. Mask Property
9.8. ModuleSize Property
9.9. Picture Property
9.10. QRType Enumeration
9.11. QRType Property
9.12. TargetDPI Property
9.13. Text Property
9.14. Version Property
9.15. CopyToClipboard Method
9.16. ExportImageRaster Method
9.17. ExportImageVector Method
10. Adding QRCode Symbols to SQL Server Reporting Service
10.1. Custom Assembly
10.1.1. Installing Custom Assembly
10.2. Adding QRCode to Report
10.3. Deployment
11. Technical Support
A. Font Character Set
B. How to Calculate Parity Value in Structural Append
C. Version ID Parameter (updated in version 5.2)
C.1. Modifier byte
C.2. Version byte
C.3. Example
D. Unicode String Encode Support
E. Center Overlay (Feature 50) Support
E.1. Specify bit pattern
E.1.1. Limitations
E.2. Swiss Payment QR Code
E.2.1. Font and Font Size
F. Fontware License Agreement