thank you !!!
but still, I was willing to understand the process in order to create it by myself. I thought it was almost fully integrated but apparently this will probably not until we go skiing on Mars. Ok I do exaggerate
Depends on de barcode you want to use... Code39 is a simple character for a graphic substitution with an * at the start and end of the code. the simple Code39 version only support A-Z 0-9 and a few other characters. So it is quite easy to do this with containers or with line characters in calculations and a little fiddling with font-size.
A lot of the other codes some some sort of error checking so you need to program for that.
Also depending on the printer you use, (I send stuff to Posteks, Zebra's and Epson) you can simple send some commands and the printer does the magic (and very sharp!) for you.
hi Richie and thanks for your post,
i am aware of using code69. I already do it by using fonts.
but my question remains open on how to generate barcodes with Code64 functions.
All base64 encode and decode does is turn something binary to and from text.
Since each letter is just a tiff, giff bmp image, just calculate the text once. But you need an image for each letter.
The other option is really digging into a graphics image format. bmp is doable. Then you can replace text values in corresponding base64 encoded text and when you convert back you get a 1 dot high image, just stretch that up to a barcode.
Here is an in-depth example of the same trick for progress bars...
here's the bitmap format
the bitmap array itself is just a bunch of 10101 in row, since code 39 chars are all the same width, once you know the right 101101 combination and the corresponding base64 code you can do a substitute then decode it into an image.
Happy coding :-)
you make me happy!!!!
a Huge thank you.
an thanks also for the example.
I Forgot to tel you that I already have the images for each character. Anyway this is a great opening.