Hi,
Do any of you guys have any experience in a solution for making barcodes for dynamicweb ecommerce products... which you can print out and use in a physical shop?
Hi,
Do any of you guys have any experience in a solution for making barcodes for dynamicweb ecommerce products... which you can print out and use in a physical shop?
Hi Jacob,
We are on the process of doing that for a client. We used a simple jQUery library that converted the value into a barcode. The client inserts "abc" and jQuery transforms it into barcode.
Nuno
Hi Jacob
I would try to go with this http://www.codeproject.com/Articles/20823/Barcode-Image-Generation-Library as you cannot print output from jQuery and it seems to be one of the most recent framework otherwise I will suggest using qr codes instead.
Best regards, Anders
I would use ZXing.Net - http://nuget.org/packages/ZXing.Net/
It supports a lot of different formats (EAN, UPC, QR etc.), it is very easy to use and is actively maintained (latest version is from April 8th 2013).
Sample code:
var writer = new BarcodeWriter { Format = BarcodeFormat.EAN_13, Options = new EncodingOptions { Height = 150, Width = 300 } }; var content = "5901234123457"; var imageFileName = "barcode.png"; var imageFilePath = Server.MapPath(imageFileName); var image = writer.Write(content); image.Save(imageFilePath, ImageFormat.Png);
You can also save the barcode as SVG if you need it to be scalable.
You must be logged in to post in the forum