FAQ Barcode Creation
How Can I Generate a Data Matrix PPN Code or NTIN Code?
How Can I Generate a Data Matrix PPN Code or NTIN Code?
The data structures of the IFA PPN and GS1 NTIN Code are encoded with a Data Matrix ECC200 symbology (ISO/IEC 16022). The IFA version is using Data Matrix Macro 06 mode, while the GS1 version is based upon Data Matrix with FNC1. A specific range for the cell size and module width has been defined as well.
More information: Encoding PPN and NTIN Numbers (German)
DFI PPN Code
Select Data Matrix and set the Data Matrix code format to Macro-06 as shown below. Alternatively you can select PPN as separate symbology (available in newer program versions).
Library/DLL: BCSet_DM_Format (pBarCode, eDMPr_Macro06) TBarCode/X: --DMformat=4
This will add a header of "[)>" + RS + "06" + GS and a trailer of RS + EOT to the encoded data.
User Data (Example):
9N111234567842\x1d1T1A234B5\x1dD151231\x1dS1234567890123456
Explanation:
1T ... Batch (LOT)
D ... Expiry date
S ... Serial Number
\x1d ... GS (group separator)
Translate Escape Sequences must be activated!
More information about IFA PPN:
GS1 NTIN Code
Select Data Matrix and set the Data Matrix code format to GS1 or EAN. Alternatively - if supported - you can you can select NTIN as separate 2D bar code symbology. This adds an FNC1 on the first code word position. Then use Application Identifiers for encoding the data fields as shown in the GS1 specification.
More information about GS1 NTIN: