Issue 1820 in zxing: Code-128 characters 128+ implementation with FNC4 and with double FNC4

64 views
Skip to first unread message

zx...@googlecode.com

unread,
Dec 11, 2013, 4:58:11 AM12/11/13
to zx...@googlegroups.com
Status: New
Owner: ----

New issue 1820 by rob...@prog.olsztyn.pl: Code-128 characters 128+
implementation with FNC4 and with double FNC4
http://code.google.com/p/zxing/issues/detail?id=1820

Hi,

in code

http://code.google.com/p/zxing/source/browse/trunk/core/src/main/java/com/google/zxing/oned/Code128Reader.java

we have:

case CODE_FNC_4_A:
// do nothing?
break;

case CODE_FNC_4_B:
// do nothing?
break;

I implement support for characters 128 + in my barcode generator
http://www.generatorkodowkreskowych.pl/en/code-128/,
create barcodes and read with manual barcode reader Argox AS-8000.

for example:

text to encode is (ISO-8859-1): óóóó1234óóabózz

codes: START_B FNC4B FNC4B 83 83 83 83 CODE_C 12 34 CODE_B 83 83 FNC4B 65
FNC4B 66 83 FNC4B FNC4B 90 90 02

Explain:

START_B - begin using charset B
FNC4B FNC4B - go into 128+ mode
83 83 83 83 - letters óóóó
CODE_C 12 34 - goto charset C - digits 1234
CODE_B 83 83 - back to charset B - letters óó
FNC4B 65 - escape 128+ mode for encode letter a
FNC4B 66 - escape 128+ mode for encode letter b
83 - letter ó
FNC4B FNC4B - terminate 128+ mode
90 90 - letters zz
02 - checksum

I assume, this will help you to implement support for characters 128+ in
Code-128 reader

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

zx...@googlecode.com

unread,
Dec 11, 2013, 6:25:09 AM12/11/13
to zx...@googlegroups.com

Comment #1 on issue 1820 by srowen: Code-128 characters 128+ implementation
Do you have a patch? I don't know how these FNC codes are supposed to be
treated.

zx...@googlecode.com

unread,
Dec 11, 2013, 4:56:56 PM12/11/13
to zx...@googlegroups.com

Comment #2 on issue 1820 by mike...@gmail.com: Code-128 characters 128+
implementation with FNC4 and with double FNC4
http://code.google.com/p/zxing/issues/detail?id=1820

I have a small patch which adds support to the code 128 reader for FNC4.
I added a sample barcode, too.

Attachments:
Code128Reader.java.patch 3.4 KB
code-128_oooo1234ooabozz.png 1.2 KB

zx...@googlecode.com

unread,
Dec 12, 2013, 10:40:51 AM12/12/13
to zx...@googlegroups.com

Comment #4 on issue 1820 by mike...@gmail.com: Code-128 characters 128+
implementation with FNC4 and with double FNC4
http://code.google.com/p/zxing/issues/detail?id=1820

Thanks.
Only to make it clear, the patch isn't from the issue reporter. But that's
not a big thing.

zx...@googlecode.com

unread,
Dec 12, 2013, 10:42:12 AM12/12/13
to zx...@googlegroups.com

Comment #5 on issue 1820 by srowen: Code-128 characters 128+ implementation
Oh sorry Mike I was not reading. I will fix the credit.
Reply all
Reply to author
Forward
0 new messages