Creating 2D Barcodes with AS3
Wednesday, July 30th, 2008
For a recent project I needed to create 2D barcodes on printouts as a way of encoding a large batch of data. I settled on the PDF417 barcode format since it was well-known and unencumbered by licensing restrictions. This is the same format used on the back of many drivers licenses. There are numerous commercial libraries and barcode fonts on the market, but there was nothing that supported AS3 out of the box. After some research, I decided to port an open-source java library (pdf417lib by Paulo Soares) to AS3. This is the result of those efforts.
Source Code: pdf417lib_as3_src_20080730.zip
Online Demo: PDF417 Barcode Generator
(more…)