I was frustrated at all the expense and the hassles of all the font issues in dealing with barcodes across different platforms - so I came up with a way that you can integrate barcodes into any solution (make the download file a module in Servoy 2.2+).
This requires ZERO FONTS, is completely cross platform, and is extensible to ANY barcode schema you want. I’ve included examples for POSTNET and CODE 39 - but you can add as many others as you want.
As much as I have played with it, it works and is easily decoded. I had on question on the formatting. Is it possible to reduce the spaces and widths of the output. Most barcodes I use now are about half the size, so that they can fit on small labels.
With the code 39 I use (text), there are several formats for sizes. How would I go about condensing, reducing the width, using your abstract technique (quite ingenious I might add)?
Do you know where I could find this bean, The last one I played with, generated the barcode perfectly, but I could not assign it to a field, so that I could print out listings and labels.
In 2.2 there is a new function, which you can make a JPG (image) of a bean. I am using this to generate (once, instantly) an image, for printing purposes.
I have to create and store 5000- 10000 bar codes, would you suggest inserting the image directly into the master record, or would this possibly create performance issues, and should be stored in a seperate table or link? I know this was sort of a vague question.
Do you have any sample code of the method that creates the image and stores it into a media field?
I will not start this project for a month or so, I was just looking for some initial information on the concepts.
HJK:
In 2.2 there is a new function, which you can make a JPG (image) of a bean. I am using this to generate (once, instantly) an image, for printing purposes.