Barcodes: An Exciting New Language!
30 Jan 2011 12:39
30 Jan 2011 12:39
30 Jan 2011 12:39
30 Jan 2011 12:39
nav_first.pngFirst: blog:1
My first blog!
Edited: 06 Nov 2011 11:49 by: James Kanjo
Comments: 2
Tags: ads blog css facebook first free myspace program programming wiki wikidot
nav_prev.pngPrevious: blog:69
iPhoto: Reclaim Your Memory!
Edited: 07 Jul 2011 15:22 by: James Kanjo
Comments: 21
Tags: apple application image iphoto mac optimise
Last: blog:77
Wikidot: CSS Per Category
Edited: 04 Mar 2012 05:54 by: James Kanjo
Comments: 3
Tags: programming wikidot
nav_last.png
Next: blog:71
Delayed April Fools
Edited: 05 Jul 2011 13:26 by: James Kanjo
Comments: 6
Tags: april fools gay joke short
nav_next.png
9 3 0 0 6 0 5 pixel.gifpixel.gif 0 3 7 6 1 8

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”.

Comments:

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
All content on this page is subject to the guidelines outlined here