EAN-128 doesn't recognise AI-a

54 views
Skip to first unread message

Tarik Huber

unread,
Aug 7, 2015, 3:25:45 AM8/7/15
to zxing
Hy,

We are using ZXing for our Industrial warehouses to scan input and output pallets. The barcodes are EAN-128 that are a combination of more than one CODE 128 (up to 4 CODE 128 in one EAN-128).

The CODE 128 are represented with AI-s like in this table:
http://www.activebarcode.de/codes/ean128_ucc128_ai.html

It is no problem to get the AI-s with static lenghts but if only one AI with variable lenghts comes around (like 10) it can not be readed like it should be because we don't know where it stops.

Is there a inbiuld way to show those FNK1 chars that are used to mark the end of variable AI-s or do we have to translate the rawBytes for or own?

An example: the barcode
(02)01311596464029(15)180413(10)15103(37)42

is readed by ZXing like this:

02013115964640291518041310151033742

Geting the 02 and 15 AI is no problem but then the 10 and 37 is not possible without knowing there the FNK1 char is.

Sean Owen

unread,
Aug 7, 2015, 4:27:13 AM8/7/15
to zxing
FNC control codes should be part of the string but as non-printable characters. The rest of the readable characters are correct AFAIK. YOu'd have to point to the spec and open a PR to suggest a change otherwise.
Reply all
Reply to author
Forward
0 new messages