EAN-8 Barcode generator

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

EAN-8 Barcode generator

Post 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 576 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: EAN-8 Barcode generator

Post 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 ).
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: EAN-8 Barcode generator

Post by bpd2000 »

Excellant Rathi
Thank you for sharing
BPD
Convert Dream into Reality through HMG
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: EAN-8 Barcode generator

Post 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
Viva INTERNATIONAL HMG :D
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: EAN-8 Barcode generator

Post 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
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: EAN-8 Barcode generator

Post by Rathinagiri »

Yes. I too have thought that. Thanks Esgici.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: EAN-8 Barcode generator

Post 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 1992 times
Webpage check code
morovia.png
morovia.png (42.9 KiB) Viewed 7300 times
Wikipedia number example
wiki.png
wiki.png (71.06 KiB) Viewed 7300 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: EAN-8 Barcode generator

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply