Morovia DataMatrix Font & Encoder 5 Reference Manual

Revision: 5294

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.

October 2011

Table of Contents

1. Introduction
1.1. What's New
1.2. Backward compatibility
1.3. Installing DataMatrix Font & Encoder
1.3.1. To Install From a CD
1.3.2. To Install from Direct Download
1.4. Limitations of Trial Version
2. Overview
2.1. What is Data Matrix?
2.2. Working with DataMatrix Font & Encoder 5
2.2.1. Font-Based
2.2.2. Image File Based
2.2.3. ActiveX Control
3. Using DataMatrix Encoder GUI
3.1. Exporting Images
3.2. Program Options
4. Encoder DLL API Reference
4.1. ImageTypeEnum
4.2. DataMatrixEncode
4.3. DataMatrixEncode2
4.4. DataMatrixEncode2W
4.5. DataMatrixResultGetSizeID
4.6. DataMatrixResultGetBarcodeString
4.7. DestroyDataMatrixEncodeResult
4.8. PaintDataMatrixImageRaster
4.9. PaintDataMatrixImageVector
4.10. PaintDataMatrixImageRaster2
4.11. PaintDataMatrixImageVector2
4.12. PaintDataMatrixImageEMF
4.13. DataMatrixGetErrorMessage
4.14. DataMatrixResultGetBarcodeString2
4.15. PaintDataMatrixImageClipboard
5. DataMatrix ActiveX Control Reference
5.1. Specification
5.2. Properties
5.3. BackColor, ForeColor Properties
5.4. ModuleWidth Property
5.5. Picture Property
5.6. SizeID Property
5.7. TargetDPI Property
5.8. Text Property
5.9. CopyToClipboard Method
5.10. ExportImageRaster Method
5.11. ExportImageVector Method
5.12. GetActualSizeID Method
6. Adding DataMatrix to Crystal Reports
6.1. UFL Functions
6.2. Tutorial: Step by Step
6.3. Distributing UFL, Fonts with your report application
7. Adding DataMatrix to Microsoft Office Documents
7.1. Access (ActiveX Control)
7.2. Access (using DataMatrix Font)
7.3. Excel (ActiveX Control)
7.4. Microsoft Word
7.5. Word Mail Merge
8. Adding DataMatrix Symbols to SQL Server Reporting Service
8.1. Custom Assembly
8.1.1. Installing Custom Assembly
8.2. Adding DataMatrix Barcodes to Report
8.3. Deployment
A. Technical Support
B. Input format (ECI and Structural Append)
B.1. Tilde codes
B.2. Macro 5 and 6
B.3. Extended Channel Interpretation (ECI)
B.4. Structural Append (SA)
B.4.1. File ID (FID)
B.4.2. Sequence Indicator (SI)
B.4.3. Total Number of Symbols
C. Size ID Parameter (updated in version 5.1)
C.1. Modifier byte
C.2. Size ID byte
C.3. Royal Mail MailMark Barcode
D. Unicode String Encode Support
E. Fontware License Agreement
Glossary
Index