B4A Library [B4X] barcodeGenerator - Cross platform Barcode code generator

codeBarGenerator is a class that generates barcodes.

It is written in B4X and is compatible with B4A, B4i and B4J.

At the moment the class only generates barcode in EAN13, UPC-A and CODE128-B format, you can modify the class and improve it even more.

Versions

V1.02 - barcode in CODE128-B.
V1.01 - barcode in UPC-A.
V1.00 - barcode in EAN13.

1683554756371.png
 

Attachments

  • barcodeGenerator.zip
    187 KB · Views: 489
Last edited:

Lucas Siqueira

Active Member
Licensed User
Longtime User

aeric

Expert
Licensed User
Longtime User
Before I go search, can you point to me where do you get the logic to generate the barcodes?
 

Lucas Siqueira

Active Member
Licensed User
Longtime User

emexes

Expert
Licensed User
Longtime User
Lol completely coincidentally I was just regenerating a loyalty card barcode this evening to print out a nice sharp copy for a friend to use, and it occurred to me that the same online barcode generator could be used by your service as a safety net, or to supply barcodes that you haven't yet implemented in code:


After I'd printed out a copy of the barcode, I remembered that I still have the previous (expired) credit card with the same loyalty barcode on the back, so my friend's going to use that instead, and thus my printing and trimming efforts were unnecessary anyway. :rolleyes:
 
Last edited:

TILogistic

Expert
Licensed User
Longtime User
Before I go search, can you point to me where do you get the logic to generate the barcodes?

A while back, I was working on a library that generated all kinds of barcodes using Canvas, improving the generation and display process based on existing work on the forum.
E.g. Generation of EAN-13 in its visualization and verification of its bars
generating the image that @emexes published

 
Last edited:

TILogistic

Expert
Licensed User
Longtime User
Lol completely coincidentally I was just regenerating a loyalty card barcode this evening to print out a nice sharp copy for a friend to use, and it occurred to me that the same online barcode generator could be used by your service as a safety net, or to supply barcodes that you haven't yet implemented in code:


After I'd printed out a copy of the barcode, I remembered that I still have the previous (expired) credit card with the same loyalty barcode on the back, so my friend's going to use that instead, and thus my printing and trimming efforts were unnecessary anyway. :rolleyes:
This reminded me of a PHP library?
 

aeric

Expert
Licensed User
Longtime User
Thanks.
When I free I will see if I can add other formats.
 
Top