How to Generate EAN-128/GS1-128 in .NET Library
GS1-128 (a.k.a. EAN-128, UCC-128) is an application standard of the GS1 implementation using the Code 128 barcode specification. GS1-128 uses a series of Application Identifiers to include additional data such as best before dates, batch numbers, quantities, weights and many other attributes needed by the user.
EAN-128/GS1-128 .NET Generator is a set .NET class library, enabling users to generate and print EAN-128/GS1-128 in any .NET projects. It is completely compatible with the most popular Microsoft development tool Visual Studio and supports Visual Studio 2005 and advanced versions.
.NET EAN-128/GS1-128 Generating Control provides advanced barcode options. Developers are easy to manipulate barcode size, image border, style, margins, rotations etc. In addition, users are allowed to enable or disable human-readable text and checksum.
EAN-128/GS1-128 for .NET Ultimate 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) |
Barcode Specification | Compatible with the latest GS1 standard - GS1 General Specification (Version 8) |
Quick Integration | Easy to integrate advanced EAN-128/GS1-128 generating features into .NET projects and IIS |
Detailed User Manual | Provide comprehensive sample code & user guide for EAN-128/GS1-128 generation without any change |
High Usability | Multiple option with high usability over barcode size, image quality, text, etc, available for .NET projects |
High Performance | Directly stream high-quality EAN-128/GS1-128 barcodes that can be generated on all printers |
EAN-128/GS1-128 for .NET Ultimate 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#, Visual Basic, Managed C++ and Borland Delphi.NET - Visual Studio 2005/2008/2010 - .NET Windows Forms Application - .NET Class and Console Applications - ASP.NET Web Forms - .NET SSRS and Crystal Report |
Install EAN-128/GS1-128 Generator for.NET Ultimate
- Download BizCode Generator for .NET Ultimate and unzip;
- Add reference: Add "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" to your project reference;
- Add to toolbox: To add Barcode Control to your .NET Winforms or 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;
How to Drag & Drop Barcode Control into .NET Winforms projects?
- Install .NET Winforms Barcode Control;
- Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
- Drag and drop the WinLinearBarcode control into the Forms;
- Run the website and you will see a barcode image generated.
How to Generate EAN-128/GS1-128 in .NET with C#, VB.NET Class?
Copy those following code to your .NET projects:
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 .NET Ultimate 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"/>
How to Draw EAN-128/GS1-128 Barcodes to Image Files (GIF, JPEG, BMP, PNG, & TIFF)?
Copy those following code to your .NET projects:
using BusinessRefinery.Barcode;
Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN128;
barcode.Code = "(01)23456789";
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.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/ean-128-vb-net.gif")
How to draw & print EAN-128/GS1-128 barcodes to .NET objects like Graphics, Stream, Bitmap?
Copy those following code to your .NET projects:
public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);
Public Sub drawBarcode2Stream(ByVal fileStream As System.IO.Stream)
Public Sub drawBarcodeOnGraphics(ByVal graphics As
System.Drawing.Graphics)
Public Function drawBarcodeAsBytes() As Byte()
Public Function drawBarcodeOnBitmap() As System.Drawing.Bitmap