KA.Barcode for ASP.NET
How to Generate UPC-E in ASP.NET Application
How to generate UPC-E barcode images in ASP.NET web applications using Visual C#, VB.NET
  • Simple to generate & stream UPC-E barcode in ASP.NET Web Applications
  • Support to use in Internet Information Services (IIS)
  • Compatible with the Microsoft Visual Studio 2005/2008/2010
  • Easy to create supplement barcode EAN-2 and EAN-5 for UPC-E barcodes
  • Support C#,VB.NET, Managed C++ and Borland Delphi for .NET
  • Pre-configured UPC-E barcode creation in accordance with GS1 system of standards
  • Automatically add computing check digit for UPC-E barcode
ASP.NET UPC-E Barcode Generator is a powerful ASP.NET barcode generation control for adding advanced UPC-E generating and streaming features into ASP.NET Web forms, ASP.NET Class and IIS. All generated UPC-E barcodes can be easily display on all major web browsers, such as Internet Explorer, Firefox, Chrome, Safari, etc.
UPC-E Overview in ASP.NET Generator
UPC-E, a subset of UPC-A barcode, is also named as Universal Product Code version E, UPC-E+2, UPC-E Supplement 2/5 (Two/Five-digit Add-On), UCC-12, GS1-12. It is mainly used on small package in retailing system where a UPC-A barcode cannot be printed on.

UPC-E Encodable Characters in ASP.NET Generator

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
UPC-E Generation in ASP.NET Web Control

How to Drag & Drop UPC-E Control to ASP.NET Project

  1. 1.
    Copy "barcode.aspx" and " barcode.aspx.cs" to the target folder
  2. 2.
    Right-click in "Toolbox" and select "Choose Items..."
  3. 3.
    Click "Browse..." to locate and select "KeepAutomation.Barcode.Web.dll"
  4. 4.
    Drag and drop "BarCodeControl" from Visual Studio Toolbox into the web form and a UPCE barcode is created
  5. 5.
    Change barcode symbology to "UPCE" and customize its properties in the "Properties" panel

How to Generate UPC-E in C# or VB.NET Programming

It is easy to generate UPC-E into ASP.NET web form / website using the C# or VB.NET sample code below.
using KeepAutomation.Barcode.Bean;

BarCode upce = new BarCode();
upce.Symbology = KeepAutomation.Barcode.Symbology.UPCE;
upce.CodeToEncode = "012345";
upce.X = 2;
Dim upce As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upce.Symbology = KeepAutomation.Barcode.Symbology.UPCE
upce.CodeToEncode = "012345"
upce.X = 2
upce.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()

How to Generate UPC-E with Supplemental Digits in ASP.NET

UPC-E Supplement two/five-digit add-on barcodes may be used to encode detailed information in ASP.NET applications. Users could set supplement barcode height and space by changing related property "SupplementCode", "SupplementHeight" and "SupplementSpace ".
using KeepAutomation.Barcode.Bean;

BarCode upcesup2 = new BarCode();
upcesup2.Symbology = KeepAutomation.Barcode.Symbology.UPCESup2;
upcesup2.CodeToEncode = "123456";
upcesup2.X = 2;
upcesup2.SupplementCode = "12";
upcesup2.SupplementHeight = 0.8f;
upcesup2.SupplementSpace = 15;
Dim upcesup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upcesup2.Symbology = KeepAutomation.Barcode.Symbology.UPCESup2
upcesup2.CodeToEncode = "123456"
upcesup2.SupplementCode = "12"
upcesup2.SupplementHeight = 0.8f
upcesup2.SupplementSpace = 15
upcesup2.X = 2
upcesup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
How to Generate UPC-E in Microsoft IIS Through URL
  1. 1.
    Unzip the trial package, copy "barcode" folder and its contents to your IIS, and create a new virtual directory "barcode"
  2. 2.
    Restart IIS, and navigate to "http://localhost/barcode/barcode.aspx?code-to-encode=012345&symbology=39"
  3. 3.
    Now an UPC-E is generated, you can change barcode properties in the url above, view http parameters here
  4. 4.
    To add the created barcode images in html or aspx pages, insert the following image tag into your web pages. <img src="http://localhost/barcode/barcode.aspx?code-to-encode=012345&symbology=39"/>