Page 1 of 1
Barcode Printing
Posted: Mon May 16, 2011 7:15 am
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
Re: Barcode Printing
Posted: Mon May 16, 2011 7:19 am
by jayadevu
Oops, the file name is Cod13.prg and not Ean23.prg. Sorry for the error.
Warm regards,
Jayadev
Re: Barcode Printing
Posted: Thu May 19, 2011 11:32 pm
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
Re: Barcode Printing
Posted: Thu May 26, 2011 6:21 am
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
Re: Barcode Printing
Posted: Thu May 26, 2011 2:35 pm
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