U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
[Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39253&th=7372#msg_39253
2016-01-22 Attachment updated to accommodate change in UPP library (explicit selection of pick/clone) after introduction of C++11.
==========================
First of all. Sorry to sergeynikitin. I noticed that you already implemented Code128. You are one of the more active U++ contributors, and I fully respect you. I did this a few years back but never took time to polish it, so I just use it myself.
Anyways:
see screenshot for effect. the usage is pretty intuitive. Supports both Draw class and QTF with pretty natural way.]]>Lance2013-03-05T22:59:12-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39254&th=7372#msg_39254
]]>Lance2013-03-05T23:06:25-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39256&th=7372#msg_39256
EAN13/UPC-A is widely used in retail. It might be desirable to add support for other EAN/UPC variations.
I have no use for other linear barcode.
PDF417 is very interesting, but there is no openly (freely) available documentation. (Unlike Code128 and EAN13 for which all details are available on Wiki). If anybody knows more details about PDF417 and is willing to share, please kindly let me know.
]]>Lance2013-03-06T12:30:59-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39263&th=7372#msg_39263
]]>Lance2013-03-07T05:11:16-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39264&th=7372#msg_39264
If this is useful for PDF417
http://pdf417codec.sourceforge.net/]]>deep2013-03-07T06:25:07-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39272&th=7372#msg_39272
Second one has some easily understandable information. It will be more helpful if I decide to implement it myself.
Will take time to go through other links.
Thanks again.
=========================
The 3rd is fantastic! I am glad I asked. Fully appreciated, Deepak.]]>Lance2013-03-07T14:14:00-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=40611&th=7372#msg_40611
EAN-8, I searched it by google, for I have little knowledge about it, I hope some of you can give me some useful suggestions, and help me know the advantages about it. Thanks a lot!!!]]>2013-08-23T08:03:29-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=40637&th=7372#msg_40637
I think EAN8 is just a short version of UPC/EAN. It's particularly good for smaller items, eg, gums, slim version of cigarettes. Other than that, there is not much advantage of it over the regular UPC/EAN. And apparently with 5 digit less, EAN8 is more limit in capacity. ]]>Lance2013-08-25T03:05:38-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=40660&th=7372#msg_40660
code 128 and c++, I don't know whether it is useful for you, just check it , try to find what you really want , hope you like it.]]>2013-08-28T08:57:53-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=40794&th=7372#msg_40794
including Code128EAN13 UPC-A EAN-8 and other barcode types. ]]>acimage2013-09-18T02:24:03-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=40837&th=7372#msg_40837
PDF 417 source, share it there. as far as I am concerned, many users think highly of it, so, hope you like it, ]]>2013-09-22T06:58:48-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41206&th=7372#msg_41206
http://grandzebu.net/informatique/codbar-en/pdf417.htm
from one of deep's previous post at present. For programmers seek to implement PDF417, that's a very good document.
]]>Lance2013-11-12T16:00:31-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41222&th=7372#msg_41222
Anybody have document for QR/Data Matrix code available?
Thanks in advance. ]]>Lance2013-11-16T01:12:18-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41224&th=7372#msg_41224
You can get some information from
May be check zint and zxing codebase.
]]>deep2013-11-16T10:20:39-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41227&th=7372#msg_41227
. I was getting stuck in doing the PDF417. There was some minor errors in the otherwise easy to follow documentation(whose link was provided by you), then I decided the Reed-Solomon algorithm might not be interpreted/implemented correctly. I thought I could get some clue from one of the library (whose link also provided by you) . But I ended up decoding barcodes generated by an online generator for given simple inputs to figure it out. Thank God, the basic data (the coefficients) provided in the website seems to be correct. ]]>Lance2013-11-16T13:18:05-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41228&th=7372#msg_41228
1. Encoding algorithm for Code128 reimplemented with greedy method
2. Fixed a bug with EAN check digit calculation.
3. There are known bugs/ommission with PDF417 but basically it should work most of the time(90%+?).
Note basic c++11 support (like the ones in VS2012) is required to compile the code.
]]>Lance2013-11-16T15:46:01-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41237&th=7372#msg_41237
this page might be of some help.]]>Lance2013-11-17T19:58:29-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41238&th=7372#msg_41238
When I said there were know omissions, one of it in my mind is "Code Word 913 will switch to Octet(AKA byte) only for the next CW(code word)" mentioned in the reference webpage. The author didn't elaborate on it, I assume it should mean:
1. If the current compaction mode is Text, 913 will cause the next codeword be interpreted as literal ASCII value, and the compaction mode for the codeword immediately after remains Text. Chance is, even the submode (UpperCase, LowerCase, Mixed, Punctuation) will be reserved;
2. If the current compaction mode is Byte, there will be no use for 913;
3. If the current compaction mode is Numeric, 913 will cause the next codeword be interpreted as literal ASCII value, and the compaction mode for the codeword immediately after remains Numeric.
If shortest encoding is a goal, it will not be achieved without taking the above into consideration. So I took time to implement above according to my assumption. Too bad, no online decoder will recognize barcode generated if 913-shift-to-Octet sequence existed in the codewords sequence. I was wondering if it's because the information was incorrect(author's mistake), or it wasn't interpreted correctly(my mistake), or it's because of a blind spot in the online decoders(somebody else to blame).
If somebody who has a decent barcode scanner that supports PDF417 could tell me the result of scanning the following barcode, it will be fully appreciated.
encoded text: ABCDEFâABCDEFGHIJKL
codeword sequence: 14 1 63 125 913 195 913 162 1 63 125 187 249 311 509 563 with the last 2 being error correction code words.]]>Lance2013-11-18T00:06:52-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41244&th=7372#msg_41244
I used PDF417.mobi on android.
Its not reading your image. It can read other PDF417 images available on net.
Your String is not converted properly by other two softwares.
Both convert to image which reads as
ABCDEF CDEFGHIJKL
Mostly string is not properly encoded by softwares.
]]>deep2013-11-18T06:20:04-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41250&th=7372#msg_41250
Thanks for the feedback. UTF string might be interpreted differently in other encoding. Let's try a different example this time:
Text encoded: 0123456789012A0123456789012
Codewords sequence excluding error correction:902 15 386 694 721 112 913 65 15 386 694 721 112]]>Lance2013-11-19T02:02:11-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41251&th=7372#msg_41251
http://online-barcode-reader.inliteresearch.com/. In its UTF version, exact same string is displayed. We can do without the 913-shift thing to be safe. All type of data will be properly encoded, only the encoding might not be optimum.]]>Lance2013-11-19T02:24:09-00:00Re: [Barcode] Code128 & EAN13 (Superset of UPC-A) supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41254&th=7372#msg_41254
http://www.expresscorp.com/content/express/pdf/IndustrySpeci fications/USS-PDF-417.pdf
Turns out 913 can only be used within Text Mode to shift to byte compaction for the next codeword, and then the original Text submode is restored. I don't see a reason why 913-shift is not allowed in Numeric context, but according the the standard, barcode for this text ( ABCDEFâABCDEFGHIJKL) is correct even though most online decoders don't recognize it. And barcode associated with this text (0123456789012A0123456789012) is indeed invalid.
I have added Truncated pdf417 and some other functionalities. In order not to waste too much resources, I'll just keep it. Maybe until I at least make some progress on QR code.]]>Lance2013-11-21T03:24:46-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=41352&th=7372#msg_41352
free online EAN8 generator that i wanna share too. It works very conveniently.]]>makaveiljojo2013-12-03T09:18:29-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=42369&th=7372#msg_42369
makaveiljojo wrote on Tue, 03 December 2013 10:18
Thanks for all sharings. I was using a free online EAN8 generator that i wanna share too. It works very conveniently.
HI there
Thanks for your barcode sharing.I am exactly looking a free online barcode generator.I hope it is possible for my barcode generator to generate code 128 and upc-a at the same time.Is that ok?]]>Nana1112014-03-10T06:32:31-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45900&th=7372#msg_45900
if someone download this library and has issues compiling it, namely the following error:
Barcode\Code128.cpp(701): error C2280: 'Upp::Vector<Upp::byte> &Upp::Vector<Upp::byte>::operator =(const Upp::Vector<Upp::byte> &)': trying to reference a deleted function
you have to read here to fix it.
Regards,
Gio
]]>Giorgio2016-01-22T14:11:05-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45901&th=7372#msg_45901
Lance2016-01-22T15:14:35-00:00Re: [Barcode] Code128 & EAN13/UPC-A/EAN8 supported
https://www.ultimatepp.org/forums/index.php?t=rview&goto=45958&th=7372#msg_45958
Lance2016-01-31T18:19:04-00:00