Look at iTextSharp, it is a PDF manipulation library, but it includes a very robust barcode library in it. I used it on a project last summer. It is a SourceForge project. If I remember correctly the barcode classes were added from another library.
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
zarzar
Member
18 Points
14 Posts
free barcode for asp.net
Nov 08, 2008 06:00 PM|LINK
Hello,
I'm looking for a free solution to include barcods (such as code 39) in an asp.net application.
If anybody has great links... [Idea]
Thx
Barcode
rockinthesix...
Participant
1620 Points
505 Posts
Re: free barcode for asp.net
Nov 08, 2008 07:41 PM|LINK
zarzar
Member
18 Points
14 Posts
Re: free barcode for asp.net
Nov 08, 2008 08:49 PM|LINK
Thanks, but Google already find it for me [;)] and it's a TRIAL version.
docluv
Star
12685 Points
2005 Posts
ASPInsiders
MVP
Re: free barcode for asp.net
Nov 08, 2008 10:07 PM|LINK
Look at iTextSharp, it is a PDF manipulation library, but it includes a very robust barcode library in it. I used it on a project last summer. It is a SourceForge project. If I remember correctly the barcode classes were added from another library.
zarzar
Member
18 Points
14 Posts
Re: free barcode for asp.net
Nov 09, 2008 01:25 PM|LINK
Hello.
Thank you !! I've made a quick test of iTextSharp and I think it will do the job ;)
In the destination page :
<
asp:Image ID="Image1" runat="server" ImageUrl="~/BarCode.aspx?code=123" /> In BarCode.aspx.cs :using
System;using
iTextSharp.text.pdf;public
partial class BarCode : System.Web.UI.Page{
protected void Page_Load(object sender, EventArgs e){
Barcode39 bc39 = new Barcode39();bc39.Code = Request[
"code"]; System.Drawing.Image bc = bc39.CreateDrawingImage(System.Drawing.Color.Black, System.Drawing.Color.White);Response.ContentType =
"image/gif"; bc.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);}
}
Download the DLL from http://sourceforge.net/projects/itextsharp/
barcode
docluv
Star
12685 Points
2005 Posts
ASPInsiders
MVP
Re: free barcode for asp.net
Nov 09, 2008 07:33 PM|LINK
Actually using an httpHandler would be much more efficient than a page :)
docluv
Star
12685 Points
2005 Posts
ASPInsiders
MVP
Re: free barcode for asp.net
Nov 09, 2008 08:04 PM|LINK
Here is how to make it into a httpHandler http://professionalaspnet.com/archive/2008/11/09/A-Quick-and-Dirty-Bar-Code-Image-httpHandler.aspx
zarzar
Member
18 Points
14 Posts
Re: free barcode for asp.net
Nov 09, 2008 08:48 PM|LINK
it was just a "quick test" as I said
but when I read the post on your blog (happy to have triggered it [;)]), i agree that it takes the same time.. and it's better :)
++
TATWORTH
All-Star
72395 Points
14016 Posts
MVP
Re: free barcode for asp.net
Nov 12, 2008 12:54 PM|LINK
Have a look at:
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
softmatic
Member
4 Points
3 Posts
Re: free barcode for asp.net
Jul 30, 2010 05:08 AM|LINK
A free (as in beer) library for .NET / ASP .NET can be found here:
http://www.softmatic.com/dotnet.php
All common code types are supported (1D and 2D). Disclaimer: We are the developers.
barcode printing ean qr