Missing GS1 Symbol Identifiers with zxing and zbar

孤人 提交于 2019-12-08 19:41:35

问题


I am trying to validate GS1 Barcodes with zxing or zbar. The GS1 specification says in 7.8 that GS1 Barcodes must start with a specific Symbology Identifier:

  • ]C1 = GS1-128
  • ]e0 = GS1 DataBar and GS1 Composite Symbols
  • ]d2 = GS1 DataMatrix
  • ]Q3 = GS1 QR Code

But zxing only shows the symbol identifier for CODE-128 (with or without --gs1), not for the rest. ZBar show the symbol identifier not at all.

Is my understanding of the specification correct? Is there anyway to extract those identifier from a barcode with zxing or zbar? Do the usual handheld scanner look at those symbol identifer at all?

来源:https://stackoverflow.com/questions/26811241/missing-gs1-symbol-identifiers-with-zxing-and-zbar

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