Generating GS1-128 (formerly EAN-128) Barcode Using ZXing

I am using ZXing API in my application and just found that it does not support EAN-128 barcode format. It supports code 128, but there are subtle differences in barcode image between EAN-128 and code 128.

Does anyone know of a workaround in ZXing that will generate an EAN-128 barcode?

If not, is there any other barcode generation API that I can package with Android?

+3


source to share


2 answers


ZXing supports GS1-128 (formerly called EAN-128) but requires a little work on the part of the user to provide the data in the correct format.

GS1-128 is the GS1 standard denoting Parent Code 128 symbology, and as such uses the Code 128 symbol with data specified in the standard GS1 Application ID format.



The following answer provides more details on what this means in practice, and links to information that describes how to format data according to this standard so that it can be provided by the ZXing Code 128 encoder:

fooobar.com/questions/2235356 / ...

+1


source


In the ZXing GitHub project, it links to a related project, which is an open source Java barcode generator that supports EAN-128 / GS1-128.

http://barcode4j.sourceforge.net/



Until I have used this project, it might be worth investigating if there is still no workaround with ZXing.

0


source







All Articles