Generating GS1 DataMatrix using ZXing.Net

☆樱花仙子☆ 提交于 2019-12-04 19:42:40

You have to use a formatted string with ASCII character 29 (GS - Group Separator):

< GS >2401234567890< GS >10AA12345< GS >11123456211< GS >961234567

(replace the "< GS >" with ASCII 29)

ZXing.Net supports the GS symbol with the ASCII encoder since version 0.15. It replaces the ASCII 29 value with the FNC1 codeword (232) in the resulting datamatrix image.

That's only a low level support. There is no built in class or something similar which understands AI (application identifiers) with fixed or variable length (similar to the result parser classes for vCards, vEvent, ISBN, ...).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!