Embed UPC-E Generator into ASP.NET Web applications using Barcode ASP.NET Server Control
ASP.NET UPC-E Generator Server Component
  • Easy to insert barcode in Console Application & ASP.NET Web Site
  • Create & Print UPC-E, Data Matrix, UPC-E, GS1 128, QR Code etc. in ASP.NET
  • Support Visual Studio 2005/2008/2010
ASP.NET Barcode Server Control for UPC-E Creation
  • Insert & print UPC-E images in Class Library & ASP.NET Web Services
  • Created barcodes are conformed fully to the GS1 General Specifications
  • 100% managed code created in C#
  • Support Visual Basic .NET, C#, Managed C++ and Borland Delphi for .NET
  • Provide free demo & optional C#, VB sample codes
  • Support UPC-E Supplement 2/Two-digit &UPC-E Supplement 5/Five-digit Add-On
  • Create & save barcode images as TIFF, BMP, GIF, JPEG or PNG format
  • Properties include height, margin, resolution, orientation etc. are adjustable
Avapose.Barcode for ASP.NET is a robust component which adds barcode generation capability easily into web applications. UPC-E barcodes could be displayed in web browers that support GIF, JPEG, BMP and PNG images. Customization relating to height, width properties are acceptable provided the interpretation is clearly legible.
UPC-E barcode class library for ASP.NET:
  • ASP.NET Web Site (design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • ASP.NET Web Services (runtime support)
ASP.NET Barcode Generator Control & DLL - UPC-E Specifications
UPC-E is a linear barcode of the UPC / EAN barcode family. The UPC data structure is conformed to the GS1 standards. The UPC-E Bar Code Symbol is a symbol of the EAN/UPC Symbology representing a GTIN-12 in six explicitly encoded digits using zero-suppression techniques. It could be converted to UPC-A. UPC-E could be applied by the trade item that is intended to cross the Point-of-Sale.
ASP.NET web server component encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Barcode Making API for ASP.NET Applications - UPC-E Generation


Before UPC-E creation in ASP.NET applications, please install:
  • Operating Systems: Windows XP, Windows Vista and Windows Server 2008
  • .NET Framework: 2.0, 3.0, 3.5, 4.0 and 4.5
  • Microsoft Visual Studio: 2005, 2008 and 2010
  • IIS (Internet Information Services)
  • Avapose.Barcode for ASP.NET

Create UPC-E barcode image by using Drag-and-drop implementation method

  1. Download Avapose.Barcode for ASP.NET free demo and unzip it on user’s computer;
  2. Copy Avapose.linearbarcode.aspnet.dll to your ASP.NET project folder;
    (Do not copy .dll to .NET bin directory, Visual Studio will do so.)
  3. Find "linear.aspx" and "linear.aspx.cs" in the barcode folder and copy them in the target project folder;
  4. Add the dll to the toolbox, and you could find the "LinearWebControl" on the toolbox;
  5. Drag and drop the "LinearWebControl" to your aspx page;
  6. Click "Debug" and UPC-E occurs.

Generate and display UPC-E barcode image in ASP.NET applications in C# and VB.NET

  1. Download Avapose.Barcode for ASP.NET free package and unzip it on hard drive;
  2. Copy the Avapose.linearbarcode.aspnet.dll to target folder; (Do not copy bin directory, VS will do it automatically)
  3. Add Avapose.linearbarcode.aspnet.dll to reference of your ASP.NET project;
  4. Copy "linear.aspx" and "linear.aspx.cs" in barcode folder and place them in the target project folder;
  5. Write the VB or C# code samples provided below;
  6. Debug it,the UPC-E image could be created.

C# code

using Avapose.linearbarcode;
Linear Barcode = new Linear();

Barcode.LinearBarcode = LinearBarcode.Upce;

Barcode.BarcodeData = "123456";

Barcode.BarWidth_X = 2;

Barcode.Rotation = Degree0;

Barcode.BarcodeHeight = 2;

Barcode.BarcodeWidth = 60;

Barcode.ResizeBarcode = true;


VB code

Dim a As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
vb.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Upce
vb.BarcodeData = "123456"
vb.BarWidth_X = 2
vb.BarHeight_Y = 60
vb.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif

Barcode.ResizeBarcode = true;


Insert UPC-E barcode creation features to IIS for ASP.NET web applications

  1. Download Avapose.Barcode for ASP.NET and unzip;
  2. Copy Avapose.linearbarcode.aspnet.dll to the project folder of your web Application;
    (The DLL will be copied to the bin directory automatically)
  3. Copy "linear.aspx" and "linear.aspx.cs" in barcode folder and place them in the target project;
  4. Restart IIS, and navigate to http://YourDomain:Port/barcode/linear.aspx?BarcodeData=123456&LinearBarcode=14
  5. Now a UPC-E is generated, properties could be adjusted;
  6. To add the created UPC-E images in html or aspx pages, simply insert the following image tag into your web pages:
    <img src= http://YourDomain:Port/barcode/linear.aspx?BarcodeData=123456&LinearBarcode=14">
Testimonial for Barcode Generation SDK for ASP.NET
We bought your product Barcode Generator for ASP.NET a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.