Page 1 of 1

EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 8:02 am
by mol
Hi guys!
Reading our forum, I was inspired to build my own EAN-13 generator. An idea is based on ZINT Lib By Robert Stuart.
With a little modification, it can be used also as UPC-A and UPC-8 barcode generator.

I'm posting little sample to print barcode.
Remember to enter whole code, because no error protections.

Nice testing, improving and anything else you want to do with this code :lol: !

PS. I think it woud be great idea to attach this sample (or modified, maybe enhanced) as HMG Sample...
Image

Whole sample you can download from http://www.molsystemy.pl/hmg/printean13.zip too

Re: EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 8:11 am
by santy
Thanks Marek,

Very cool and simple example. :)

Re: EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 8:47 am
by Rathinagiri
I second Santy. Very nice sample.

Re: EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 8:53 am
by bpd2000
Thanks Marek,

Re: EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 11:58 am
by danielmaximiliano
Hola Marek :
Gracias por compartir, aqui la impresora tiene la posibilidad de imprimir codigos de barras
internamente, pero siempre hay que tener un solucion a mano.

Hello Marek:
Thanks for sharing, here the printer has the ability to print barcodes
internally, but always have a solution at hand.

Re: EAN13 BarCode Generator

Posted: Tue Nov 06, 2012 12:40 pm
by esgici
Thanks Marek

Nice and useful share :)

Regards

Re: EAN13 BarCode Generator

Posted: Wed Nov 07, 2012 8:44 am
by mol
I've modified a little sample of printing EAN-13 Code by addding possibility of scaling printed code.

Re: EAN13 BarCode Generator

Posted: Wed Nov 07, 2012 5:15 pm
by Pablo César
Thank you Marek for sharing. This will be very usefull.

Re: EAN13 BarCode Generator

Posted: Sat Dec 22, 2012 2:17 pm
by hkrasser
Dear Mol!
I am always impressed from your postings!

In another Topic I have posted this solution - using an Font-file for Ean Code.
I think, the reading percentage is better with this solution:
viewtopic.php?f=5&t=2617&p=23522#p23522

Best regards!

Hans