EAN-8 Barcode generator

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5321
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 198 times
Been thanked: 210 times
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 420 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
danielmaximiliano
Posts: 2357
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 433 times
Been thanked: 83 times
Contact:

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: 1172
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 257 times
Been thanked: 153 times

Post by bpd2000 »

Excellant Rathi
Thank you for sharing
BPD
Convert Dream into Reality through HMG

User avatar
mol
Posts: 3408
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 268 times
Been thanked: 172 times
Contact:

Post by mol »

thanks for your work!

User avatar
esgici
Posts: 4537
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 409 times
Been thanked: 118 times
Contact:

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: 4537
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 409 times
Been thanked: 118 times
Contact:

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: 5321
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 198 times
Been thanked: 210 times
Contact:

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: 2357
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 433 times
Been thanked: 83 times
Contact:

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
Rathinagiri
Posts: 5321
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 198 times
Been thanked: 210 times
Contact:

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.

User avatar
mol
Posts: 3408
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 268 times
Been thanked: 172 times
Contact:

Post by mol »

Maybe space at the beginning?

Post Reply