Barcode Printing

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Barcode Printing

Post by jayadevu »

Hi All,

In the following topic http://hmgforum.com/viewtopic.php?f=19&t=1179&start=10 our friend Daniel Maximiliano, has posted a file EAN13.rar, In the .rar file the file "EAN13.prg" is in Spanish, can one of our bilingual friends out here translate the file in English and oblige. It contains excellent code for drawing and printing barcodes in EAN13 format.

I have to thank Mr. Daniel and the orginal Coder for the excellent routine.

Warm regards,

Jayadev
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Re: Barcode Printing

Post by jayadevu »

Oops, the file name is Cod13.prg and not Ean23.prg. Sorry for the error.

Warm regards,

Jayadev
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: Barcode Printing

Post by danielmaximiliano »

Hello everyone
In HB21 nightly harbor, there is a library called hbzebra.
it generates barcodes in various formats.

TYPE_EAN13
TYPE_EAN8
TYPE_UPCA
TYPE_UPCE
TYPE_CODE128
TYPE_CODE93
TYPE_CODE39
TYPE_CODE11
TYPE_CODABAR
TYPE_ITF
TYPE_MSI

try several ways to use this library but I still get compilation errors.

Code: Select all

.hbmk\win\mingw\generate.o:generate.c:(.data+0xe8): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_EAN8'
.hbmk\win\mingw\generate.o:generate.c:(.data+0xf8): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_UPCA'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x108): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_UPCE'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x118): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_CODE39'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x128): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_ITF'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x138): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_MSI'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x148): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_CODABAR'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x158): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_CODE93'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x168): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_CODE11'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x178): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_CODE128'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x188): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_PDF417'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x198): undefined reference to `HB_FUN_HB_ZEBRA_CREATE_DATAMATRIX'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x1a8): undefined reference to `HB_FUN_HB_ZEBRA_GETERROR'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x1e8): undefined reference to `HB_FUN_HB_ZEBRA_GETCODE'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x218): undefined reference to `HB_FUN_HB_ZEBRA_DESTROY'
.hbmk\win\mingw\generate.o:generate.c:(.data+0x228): undefined reference to `HB_FUN_HB_ZEBRA_DRAW'
DaNiElMaXiMiLiAnO
Attachments
try several ways to use this library I will try also with feet
try several ways to use this library I will try also with feet
Denis Leonel.jpg (138.18 KiB) Viewed 3124 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Re: Barcode Printing

Post by jayadevu »

Dear Mr. DanielMaximiliano,

Many thanks for your efforts, I have since been able to print Bar codes based on your guidance in earlier posts.

Warm regards,

Jayadev
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: Barcode Printing

Post by danielmaximiliano »

Hi Jayadev:
The hard work are the people of the harbor project
and contrib HbZebra by Mindaugas Kavaliauskas.

QT remember that there is also a library called EAN13
Link: http://www.qtcentre.org/wiki/index.php? ... code_class

DaNiElMaXiMiLiAnO
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Post Reply