Scan GS1-128 with Zxing

2.5k views Asked by At

I want to scan GS1-128 barcode (like picture attached) with Zxing (Android), but I can't. I'm using scanning by IntentIntegrator. Could anyone help me?

Else another barcode scanner framework for Android/iOS?

Thanks, best regards

GS1-128 barcode image: https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/barcode.gif

1

There are 1 answers

1
Sean Owen On

I believe I answered this in a private e-mail, but repeating here.

Your barcode is quite long, so difficult to scan, but it is possible. The format is Code 128. You need to make sure you set "SCAN_FORMATS" to "CODE_128" to enable Code 128 scanning (and disable others).

You may also have better luck widening the scanning rectangle by supplying a larger value for "SCAN_WIDTH".