Barcode Crystal > Barcode in Crystal > Linear > .NET UPC-E in Crystal
  • Simple to integrate into your Crystal Reports
  • Rich UPC-E settings to customize your generating barcodes
  • Minimum UPC-E knowledge required, with complete developer guides
  • Comprehensive C#, VB.NET sample codes for UPC-E generation configured to its barcode specification
  • Support to create GS1 compatible UPC-E, UPC-E+2 and UPC-E+5 barcodes
  • Also support other linear barcodes: EAN-8, MSI Plessey, Interleaved 2 of 5, EAN-128/GS1-128, etc
  • Mature and reliable C#.NET Barcode components since 2003
  • Royalty free with Developer License purchased

Quick Jump: UPC-E Information | UPC-E in Crystal Reports FAQ

UPC-E Information

Encodable Character

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Encodable Data Length

  • Fixed-length
  • 6 digits only
  • Add a number system in the beginning and check digit in the end
  • Supplemental 2 & 5 digits add-on
UPC-E in Crystal Reports - FAQ

This document provides several methods to specify UPC-E barcodes in Crystal Reports. Please download BusinessRefinery.com UPC-E Barcode Generator for Crystal Reports.

1. What are these in our Crystal Report Barcode Generator package?

You will find "BarcodeDemoData.mdb", "CustomerDataSet.xsd", "developer guide" and "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" in the package; See more information on .NET Crystal Report Barcode Generation Guide.

2. How to Install this class library onto your Crystal Reports?

Install .NET Crystal Reports barcode generator can be easy and simple, view Install process for Crystal Reports.

3. How to add supplemental digits for UPC-E barcode using C# and VB.NET class?

UPC-E barcode supports to add 2 or 5 digits supplemental data with specified height and space.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCE_2;
barcode.Code = "235468";
barcode.SupplementCode = "13";
barcode.SupplementHeight = 0.9;
barcode.SupplementSpace= 29;

barcode.drawbarcode2ImageFile("C://upce.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCE_5
barcode.Code = "235468"
barcode.SupplementCode = "13456"
barcode.SupplementHeight = 0.9
barcode.SupplementSpace= 29

barcode.drawbarcode2ImageFile("C://upce.gif")

4. How to modify UPC-E human-readable text using C# and VB.NET class?

UPC-E human-readable text can be enabled or disable with customized color, font style and margin between UPC-E symbol and text.

C# class:

Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCE;
barcode.Code = "235468";
barcode.DisplayText = true;
barcode.TextFont = new Font("Calibri", Font.Bold, 20);
barcode.TextMargin = 9;

barcode.drawbarcode2ImageFile("C://upce.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCE
barcode.Code = "979123456789"
barcode.DisplayText = true
barcode.TextFont = new Font("Calibri", Font.Bold, 20)
barcode.TextMargin = 9

barcode.drawbarcode2ImageFile("C://upce.gif")

5. How to adjust UPC-E barcode image using C# and VB.NET class?

Users may set UPC-E barcode image background color, foreground color, image format, image rotation and resolution.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCE;
barcode.Code = "979123456789" ;
barcode.BackColor = Color.White;
barcode.ForeColor = Color.Green;
barcode.Rotation = Rotate.Rotate90;
barcode.Resolution = 104;

barcode.drawbarcode2ImageFile("C://upce.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCE
barcode.Code = "979123456789"
barcode.BackColor = Color.White
barcode.ForeColor = Color.Green
barcode.Rotation = Rotate.Rotate90
barcode.Resolution = 104

barcode.drawbarcode2ImageFile("C://upce.gif")





Quick Links