IonicWind Software

IWBasic => The Roundtable => Topic started by: TonyMUK on August 12, 2009, 07:30:41 AM

Title: EAN13 bar codes
Post by: TonyMUK on August 12, 2009, 07:30:41 AM
I was looking for a program to generate EAN13 bar codes and couldn't find one for free so I wrote one. Here it is.
Title: Re: EAN13 bar codes
Post by: LarryMc on August 12, 2009, 07:49:11 AM
Thanks Tony

Larry
Title: Re: EAN13 bar codes
Post by: TonyMUK on August 12, 2009, 08:20:49 AM
No problem. This is the newest version. It now only allows 12 numbers to be entered and calculates the check digit for you.
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 05:21:53 AM
good evening
i've tried your program, but my bar code scanner does not recognize the code... i've printed other ean13 bar code I got from google and worked, so i assume there's nothing working wrong with printer or paper. any suggestion?
thanks in advance.
Title: Re: EAN13 bar codes
Post by: Ficko on October 26, 2009, 05:32:03 AM
Hi Joao!

Sometimes you need to put stars "*1234*" before and after the code to be readable.

I don't know this is the case here but may try it.
Title: Re: EAN13 bar codes
Post by: TonyMUK on October 26, 2009, 06:14:06 AM
Have you compared the bars between one you have got from Google and one generated by my program? I've never had a problem with it. It may be that your scanner is not set up correctly or it may be that there is a different coding of EAN13 that I have not used. I did play about with other types of bar code but the encoding for some of them is rather complex. Let me know if the bar codes don't match and if possible post a copy of both the google bar code and the one from my program so I can have a look at the difference.
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 10:32:28 AM
Here are both pictures, one got from your program in EB, other the one got in google.
The bars are not equal in both pictures, but I haven't spent enough time trying to figure out how to fix (don't know if its a problem of width of bars, or something else...).
Thanks
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 11:43:29 AM
By the way, didn't thought it could work, but it really works: I've used my barcode scanner on my computer monitor, pointing to the gif files I've attached in my last post, and in some angles it can read correctly :) (the code got from google, and not the one made in EB :P)
Title: Re: EAN13 bar codes
Post by: TonyMUK on October 26, 2009, 12:40:40 PM
Try this version of the program. It seems to match the Google version. Not sure why they are different. I don't remember changing the encoding at any point but I suppose I must have. Thanks for pointing it out
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 12:49:28 PM
Can share the source?
Thanks
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 12:51:22 PM
And yes, testing in monitor, it reads it. Just need to be assure and print on paper.
Anyway, they are indeed different (the google one and the one from your first version).
Thanks
Title: Re: EAN13 bar codes
Post by: TonyMUK on October 26, 2009, 02:04:23 PM
No problem. Here you go.
Title: Re: EAN13 bar codes
Post by: JoaoAfonso on October 26, 2009, 03:35:16 PM
Wonderful! And works like a charm, scanning from monitor and paper :)
Thank you once again
Title: Re: EAN13 bar codes
Post by: TonyMUK on October 27, 2009, 02:52:55 AM
Always happy to share.