Page 1 of 1

Barcode Images

Posted: Mon Oct 13, 2008 8:06 pm
by cyberlei
hi guys,

I am working on a project for printing Barcode from my current PHP page, the coding side is done, but I have really hard time to finding these Code39 and Code128 barcode images, just wondering if someone can help me on this. :oops:

Thanks a lot

Re: Barcode Images

Posted: Mon Oct 13, 2008 9:53 pm
by nickvd

Re: Barcode Images

Posted: Tue Oct 14, 2008 11:42 am
by cyberlei

Thanks for these links pal. :) actually I want to get something like a image folder and store all the barcode images (0~9, A~z, symbols....etc)

Re: Barcode Images

Posted: Tue Oct 14, 2008 12:29 pm
by onion2k
cyberlei wrote:Thanks for these links pal. :) actually I want to get something like a image folder and store all the barcode images (0~9, A~z, symbols....etc)
I don't think you quite realise how barcodes work.

Re: Barcode Images

Posted: Tue Oct 14, 2008 1:00 pm
by cyberlei
onion2k wrote:
cyberlei wrote:Thanks for these links pal. :) actually I want to get something like a image folder and store all the barcode images (0~9, A~z, symbols....etc)
I don't think you quite realise how barcodes work.
For the current code which how I generator the barcode on the label,

I created function and stored all the case (0~9, A~Z...etc) in code and those case (0~9, A~Z...etc) will link to a barcode image. if someone requested or scanned something like A123456789, then the function will checking the barcode image folder get the barcode images and combine together. Please advise

Re: Barcode Images

Posted: Tue Oct 14, 2008 1:09 pm
by nickvd
Well, the only problem that forsee would be that to accommodate using A-Z, a-z, 0-9 and [!@#$%^&*()] (total 72 chars) and picking 10 characters from that set, you would have to store about

3,743,906,242,624,490,000

images... unless my math is wrong, it has been a few years since i've done permutations...


3,743,906,242,624,490,000 x 6kb per image (conservative estimate) = 3.74390624262449e+18 * 6 kilobytes = 19.4839262 zettabytes