| 30 Jan 2011 12:39 |
|
30 Jan 2011 12:39 |
At work last week, there was this one particular product with a poorly printed barcode that couldn't be read by our barcode readers. The solution: Print new barcodes manually. However there aren't many simple online tools that do just that.
So during this weekend I decided to invest my time in researching barcodes. Fortunately, the Wikipedia's articles on EAN-8, UPC-12 and EAN-13 contained sufficient information for me to learn them properly. It was a lot of fun!
So to demonstrate my understanding of barcodes to myself, I created this little program which is compliant with EAN-8, UPC-12 & EAN-13 formatted barcodes. Check it out!!!
Enjoy!!!
λ James Kanjo
Edit: 1/Feb/2011
I discovered, to my horror, that when this program is used under some builds of IE, the barcode does not print. I have therefore reworked the code to avoid this problem. It's all fixed now :)
Here's what happened: The barcode generator utilised “background colours” in HTML. When using IE, the background colours do not print, and therefore neither does the barcode. Printing background colours is an option the user must enable in IE's advanced settings, and by default, is turned “off”.
Great, simple idea :)
I have been messing around with QR codes quite a bit recently - as my Android phone has an app dedicated to reading them and then opening any associated links, etc in the phone's browser.
The one on my blog homepage is an example:
The content contained within that barcode is as follows:
(QR codes were developed for the sole purpose of holding more data than regular barcodes… which can only hold a few integers for product identification, etc)
Shane Smith ★ Wikidot Freelancer (Hire me!)
— Sites: My Website, Personal Blog
— Projects: STE Editor, Wikimated, Wikidot 101 (Video Tutorials), Wikidot SubReddit
Wow, great work! I've never seen a barcode generated with HTML elements before - nice idea.
BMC Creative | RoaringApps | @brycecammo
yeah, I'm with leiger here. I love messing with QR codes. They're awesome!
Post preview:
Close preview