问题
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