Page 1 of 2

EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 4:16 pm
by Rathinagiri
This is a EAN-8 barcode generator without any ttf fonts. I want to thank Marek for creating such an utility for EAN-13.

Generated barcode is saved as a png image file and can be used for printing or showing in a window afterwards.

This utility requires HMG 3.1.4 and uses HFCL BosTaurus graphics library for image creation.

Hope it is useful.
barean8.zip
(2.57 KiB) Downloaded 580 times

Re: EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 5:13 pm
by danielmaximiliano
Thanks for sharing Rathi, many people will serve as an example for the development of your application, and there is not much literature about barcodes in our language (Harbour / HMG).

Gracias por compartir Rathi, a mucha gente servira como ejemplo para el desarollo de su aplicacion; ya que no hay mucha bibliografia acerca de codigos de barra en nuestro lenguaje (Harbour / HMG ).

Re: EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 5:26 pm
by bpd2000
Excellant Rathi
Thank you for sharing

Re: EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 7:45 pm
by mol
thanks for your work!

Re: EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 8:14 pm
by esgici
Hi Rathi
Rathinagiri wrote:This is a EAN-8 barcode generator without any ttf fonts...
Very nice work :)
  • Font independence
    possibility for define size of result,
    nice check sum algorithm,
    good example for notify power of BT and HMG...
    everything is wonderful :)
Thanks :!:

Viva HMG :D

Re: EAN-8 Barcode generator

Posted: Wed Jul 17, 2013 9:33 pm
by esgici
Rathinagiri wrote:This is a EAN-8 barcode generator ...
Hi Rathi

Does something like this will be useful ? :

Code: Select all

         TOOLTIP "Enter 8 digit code ( 7 digit for automatic checksum producing )"
as an addition to barcode.code.

Regards

Re: EAN-8 Barcode generator

Posted: Thu Jul 18, 2013 2:29 am
by Rathinagiri
Yes. I too have thought that. Thanks Esgici.

Re: EAN-8 Barcode generator

Posted: Thu Jul 18, 2013 3:37 am
by danielmaximiliano
Hi Rathi :
Code 96385074 Fail.

Windows 7 Home Premiun, HMG.3.1.4
compiled with Mibuil.bat
barean8.rar
(3.01 KiB) Downloaded 1996 times
Webpage check code
morovia.png
morovia.png (42.9 KiB) Viewed 7393 times
Wikipedia number example
wiki.png
wiki.png (71.06 KiB) Viewed 7393 times

Re: EAN-8 Barcode generator

Posted: Thu Jul 18, 2013 3:46 am
by Rathinagiri
That is very odd. The message 'Invalid Code!' is given for codes having length < 7 or > 8. Therefore, please verify the length of the code (is there any space?).

It works fine for me.

Re: EAN-8 Barcode generator

Posted: Thu Jul 18, 2013 5:40 am
by mol
Maybe space at the beginning?