How to Generate EAN-128/GS1-128 in ASP.NET Library
EAN-128/GS1-128 (a.k.a. EAN-128, UCC-128, EAN/UCC-128) was developed to provide a worldwide standard for exchanging data between different companies. It is an alphanumeric, high-density linear barcode smbology encodes an AI to indicate that what type of data is encoded.
ASP.NET Barcode EAN-128/GS1-128 Generator is an ASP.NET barcode creation Library that enables to create, stream EAN-128/GS1-128 barcodes in your ASP.NET Web applications and ASP.NET Web server. It provides advanced EAN-128/GS1-128 barcodes features for you to customize to suit your needs.
ASP.NET Barcode EAN-128/GS1-128 Generator provides all barcode parameters to adjust EAN-128/GS1-128 barcodes, such as module width & height, resolution, rotation, code text, font style, etc. Besides, it automatically adds computing check digit for EAN-128/GS1-128 barcodes.
As a GS1 barcode, EAN-128/GS1-128 barcode generating is compatible with GS1 General Specification (Version 8). Here are some user guides for
encoding valid data for EAN-128/GS1-128,
manipulating EAN-128/GS1-128 image, and
specifying proper size for EAN-128/GS1-128.
EAN-128/GS1-128 Generator for ASP.NET Features
Encodable Characters | Support to encode: - Standard ASCII characters 0-127 (default: ISO/IEC 646) - Extended ASCII characters 128-255 (default: ISO/IEC 8859-1) |
Quick Integration | Easy to integrate advanced EAN-128/GS1-128 generating features into ASP.NET class, ASP.NET Web applications and Internet Information Service |
Simple to Use | Provide comprehensive sample code & user guide for EAN-128/GS1-128 generation without any change |
Full Barcode Options | Multiple barcode setting options for you to select, including module width, image width, color, rotation, resolution, text, etc. |
High Performance | Directly stream high-quality EAN-128/GS1-128 barcodes into all browsers, including IE, Chrome, Opera, Safari, etc. |
For all Printers | High quality barcode images may be printed with any printers, including those low resolution printers |
EAN-128/GS1-128 Generator for ASP.NET Requirements
Windows OS - Microsoft Windows 7 - Windows Server 2008 - Windows Vista - Windows Server 2003 - Windows XP | Development Environments - .NET 2.0/3.0/4.0 - C#, VB.NET, Managed C++, Borland Delphi for.NET - Visual Studio 2005/2008/2010 - Internet Information Service (IIS) |
Install EAN-128/GS1-128 Generator for ASP.NET
- Download BizCode Generator for ASP.NET and unzip;
- Add reference: Add "BusinessRefinery.Barcode.Web.dll" to your ASP.NET project reference;
- Add to toolbox: To add Barcode Control to your ASP.NET Web Forms toolbox;
How to Drag & Drop Barcode Control into ASP.NET projects?
- Install ASP.NET Barcode Control;
- Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
- Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
- Drag and drop the WebLinearBarcode control into the Forms;
- Run the website and you will see a barcode image generated;
- More EAN-128/GS1-128 Setting see below.
How to Generate EAN-128/GS1-128 with C#, VB.NET Class in ASP.NET?
Copy those following sample code to your ASP.NET Project:
using BusinessRefinery.Barcode;
Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN128;
barcode.Code = "(01)23456789";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/ean-128-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear =
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN128
barcode.Code = "(01)23456789"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/ean-128-vb-net.gif")
How to Create Your Own EAN-128/GS1-128 in IIS?
- Download BizCode Generator for ASP.NET and unzip;
- Copy the whole barcode fold and contents into IIS and create a new virtual directory called "br_barcode";
- Restart IIS, navigate to http://localhost/br_barcode/linear.aspx?code=(01)23456789&symbology=11
- Add an image tag <img> into the web page to create EAN-128/GS1-128 barcode image in html or aspx pages, e.g. <img src="http://localhost/br_barcode/linear.aspx?code=(01)23456789&symbology=11"/>.