EAN-8 Barcode generator

HMG Samples and Enhancements

Moderator: Rathinagiri

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

User avatar
danielmaximiliano
Posts: 2375
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 460 times
Been thanked: 86 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: 1188
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 277 times
Been thanked: 158 times

Post by bpd2000 »

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

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

Post by mol »

thanks for your work!

User avatar
esgici
Posts: 4539
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 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: 4539
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 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: 5351
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 211 times
Been thanked: 232 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: 2375
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 460 times
Been thanked: 86 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 1866 times
Webpage check code
morovia.png
morovia.png (42.9 KiB) Viewed 5746 times
Wikipedia number example
wiki.png
wiki.png (71.06 KiB) Viewed 5746 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
Rathinagiri
Posts: 5351
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 211 times
Been thanked: 232 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: 3434
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 277 times
Been thanked: 176 times
Contact:

Post by mol »

Maybe space at the beginning?

Post Reply