GS1 Data Matrix - Unable to generate without AI 01 #339
-
Good Afternoon, A previous version of bwip-js (from last summer) allowed us to generate a GS1 Data Matrix without the (01) AI. This appears to have changed since then. Was this intentional, and is there any easy workaround? Thank you, Devin |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Yes, the upstream BWIPP code has added full GS1 spec-conforming functionality. If it's a GS1 barcode, then it needs an AI. If you don't want the AI, use the base datamatrix encoder. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick clarification, we are using other AIs, just not 01 in rare circumstances where a GTIN doesn't exist. We will find something else for this. Again - thank you! |
Beta Was this translation helpful? Give feedback.
-
The If it is rejecting your input then it will report exactly which other AI has a mandatory dependency on AI (01), e.g. If the mandatory associations between AIs are not satisfied, then the AI data is invalid and such symbols should not be used between trade partners. |
Beta Was this translation helpful? Give feedback.
Yes, the upstream BWIPP code has added full GS1 spec-conforming functionality. If it's a GS1 barcode, then it needs an AI. If you don't want the AI, use the base datamatrix encoder.