|
|
KA.Barcode for .NET Suite
How to Generate UPC-E in C# Application
Generate & create linear UPC-E barcode images in C#, ASP.NET web applications, and windows forms
C# barcode generator: how to generate, create, print UPC-E barcode in asp.net with free c# example
- Support UPC-E barcode creation within Visual C#.NET programs
- Generate & create dynamic UPC-E barcodes with supplement 2 &5 digits barcode add-on
- Written in C#.NET with full integration into .NET Framework 2.0, 3.0, 3.5 and above versions
- Perfectly work with Microsoft Visual Studio 2005/2008/2010
- Compatible with GS1 system of standard for UPC-E generation & customization
- Automatically add number system and check digit for UPC-E barcodes
- Draw UPC-E images in stream & graphics object, and save in image formats like png, jpeg, gif, tiff, etc.
- Output high-quality UPC-E barcodes for all printers and scanners
UPC-E Generator for C#.NET is one function of KA.Barcode Generator for .NET, which is developed in Visual C#, allowing UPC-E and other 20 + linear & 2D barcode creation and customization in .NET applications using C# programming. Flexible barcode options are provided for specify every aspect of UPC-E barcode, including bar width, image width & height, margins, image rotation & resolution in dpi, and human-readable text etc.
how to create barcode in vb net 2008,
free barcode generator asp.net c#,
how to print barcode labels in asp net c#,
c# generating barcode,
how to add barcode in crystal report in c#,
how to generate barcode in asp.net c#
UPC-E Introduction
UPC-E
is also known as Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, UPC-E+5, UPC-E+2, UPC-E0, E0, UPC-E1, E1, GTIN-12 with lead "0", GS1-12, UCC-12, which is generally used on products with very small packaging where a full UPC-A barcode couldn't reasonably fit.
UPC-E Encodable Character Set:
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- 6 digits encodabe
- Start with a number system and end with a check digit
UPC-E Barcode Generation in C#.NET How to Install UPC-E Barcode for .NET Suite into your .NET Project
1. Download KA.Barcode Generator for .NET Suite and unzip; 2. Add "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" to your C# project reference; 3. Click "Add Reference" in "project" and choose "Browse" in the pop-up window; 4. Locate your "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll"; 5. Click "OK"; now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references. How to Generate UPC-E in .NET Applications with C# Demo Code
using KeepAutomation.Barcode.Bean; BarCode upce= new BarCode(); upce.Symbology = KeepAutomation.Barcode.Symbology.UPCE; // Set UPC-E valid encoding data: 6 numeric digits. upce.CodeToEncode = "123456";
// Apply checksum for UPC-E barcode. upce.ChecksumEnabled = true;
// Display UPC-E checksum in the human-readable text upce. DisplayChecksum = true; // UPC-E unit of measure, Pixel, Cm and Inch supported. upce.BarcodeUnit = BarcodeUnit.Pixel;
// UPC-E image resolution in DPI. upce.DPI = 72;
// UPC-E module bar width, ie. Width of the narrowest bar (X dimention), default is 1 pixel. upce.X = 3;
// UPC-E module bar height (Y dimention) upce.Y = 60;
// UPC-E margin size, a 10X space is automatically added according to specification. upce.LeftMargin = 0; upce.RightMargin = 0; upce.TopMargin = 0; upce.BottomMargin = 0;
// UPC-E image orientation: 0, 90, 180, 270 degrees supported upce. Orientation = KeepAutomation.Barcode.Orientation.Degree0; // Display human readable text upce.DisplayText = true; upce.TextFont = new Font ("Arial", 10f, FontStyle. Regular); upce.TextMargin = 6; // Print UPC-E barcodes in Png, Jpeg, Gif, Tiff, Bmp, etc. image formats. upce.ImageFormat = ImageFormat.Png;
// Generate and save UPC-E barcodes to image format upce.generateBarcodeToImageFile("C://barcode-upce-csharp.gif"); // Create UPC-E barcodes in Stream object upce.generateBarcodeToStream(".NET System.IO.Stream Object"); // Draw & Print UPC-E barcodes to Graphics object upce.generateBarcodeToGraphics(".NET System.Drawing.Graphics Object"); // Generate UPC-E barcodes & write to byte[] byte[] barcodeInBytes = upce.generateBarcodeToByteArray(); // Generate UPC-E barcodes & encode to System.Drawing.Bitmap object Bitmap barcodeInBitmap = upce.generateBarcodeToBitmap();
Frequently Asked Questions
What does UPC-E stand for/mean?
The UPC-E is a 6-digit barcode that uses zero suppression to represent a full UPC-A number.
This compact format is common in retail for labeling small goods. It corresponds to UPC-A's 12-digit code (using number system 0 or 1)
and is mostly used in retail and grocery businesses across the globe.
Using C# UPC-E Barcode Generator library, you can quickly create, print UPC-E barcode images in
C# ASP.NET Core, Blazor, MVC, WPF and Windows Forms applications.
Does UPC-E comply with the GS1 standard?
Yes. UPC-E is an official member of the GS1 barcode family.
Using C# UPC-E Barcode Generator library, you are able to encode and print all GS1 supported barcode formats, including
UPC-A, EAN-13, EAN-8, ITF-14, GS1-128, GS1 DataBar, QR Code and Data Matrix in C# Visual Studio .NET projects.
How do UPC-A and UPC-E differ?
UPC-A features a 12-digit data code, and UPC-E is a shortened 6-digit UPC-A.
Using C# UPC-A Generation library, you can quickly create, print both UPC-A and UPC-E in C# class.
|