Saturday, September 23, 2006

EAN-13 (and ISBN) Barcode Generation in C#

B# .NET Blog - EAN-13 barcodes in C#

"A couple of days ago I posted about Code 39 barcode generation in C# (and here). Today another more famous barcode is the subject of my blogpost: EAN-13. EAN stands for European Article Number and is a way to number products. It's an extension of UPC (Universal Product Code). More information over here.

One particular interesting application of EAN-13 is the fact that ISBN (International Standard Book Number) codes are also represented as EAN-13 codes. I'll blog about this too.

Mission goal

As we did with Code 39, we want to be able to do something like this:

Ean13 barcode = new Ean13("9780201734843", null);
barcode.Paint().Save("c:\\temp\\test.png", ImageFormat.Png);

The second parameter to the Ean13 constructor is an optional title to display on top of the barcode (will be handy for ISBN numbers).

..."

Another cool barcode generation example from Bart De Smet.

The ISBN reference is this reference that caught my eye (related to my long standing, yet uber lower low priority/paused background thread "My Bookshelf" project...).

Related Past Post XRef:
Creating Code 39 Barcodes in C#

No comments: