Generating Barcodes with PHP

barcode example
see below for the translation of the barcode

PHP Classes is always my first stop when looking for PHP code, no matter how advanced (or easy to be honest).

I have recently been working on a shopping cart system and implementing barcode generation, as well as allowing a barcode scanner be used as an input device to speed up aspects of order management and data entry.

There are a number of barcode generation classes at PHP Classes. Harish Chauhan’s Barcode Class has been very useful. His class supports a number of barcode standards and allows generation at various sizes. There is a simple form provided to allow generation of barcodes and demonstrate the features of the class.

I will update this when I have finished all the functionality.

The barcode scanner arrives in the morning!

Oh - and the barcode above says “www.createwebsite.info” in the code128 format.

UPDATE: here it is with the font uploaded for the text!

a barcode example with the text embedded

Leave a Reply