Share via


Print Barcode labels in ASP.NET using C#

Question

Tuesday, December 17, 2013 10:48 PM

Hi All,

How create Print Label with bar code in ASP.NET using C#.

Label consists couple of items :

Product Name and Product Id -- It comes form database.
Example :

I have a Product data grid and Display total count of the grid results on the Label.

Grid consists 2 items..

I need total print labels -3.

Label 1. Grid details and grid count
Label 2. Grid Item 1 - bar code Label - item 1 description details
Label 3. Grid Item 2 - Bar code Label - item 2 description details

Please let me know.

Thanks,
Austin

All replies (2)

Tuesday, December 17, 2013 11:09 PM âś…Answered | 1 vote

Hi,

First you need a bar code font. There are several free available. Just search for "free bar code font". Like e.g. this one: http://www.barcodesinc.com/free-barcode-font/

Next, generate an image containing the text you want with your barcode font.

Then serve that image to your webpage.

For a detailed walkthrough, have a look here: http://www.codeproject.com/Articles/30322/Barcodes-in-ASP-NET-applications


Wednesday, December 18, 2013 8:28 PM

Thanks