UPC-E Barcode FAQ in ASP.NET Web Library SDK

Create and customize UPC-E barcode images in ASP.NET applications using ASP.NET server control generator DLL
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode FAQ in ASP.NET Apps
With UPC-E barcode generator library DLL for ASP.NET, developers are easy and simple to create and integrate UPC-E barcode images into ASP.NET web forms, Crystal Report ASP.NET, RDLC ASP.NET and other ASP.NET applications using ASP.NET server control library in VS toolbox or using IIS through URL.
This page has detail introduction of how to implement and set UPC-E barcode properties in ASP.NET web applications with ASP.NET barcode library DLL installed in VS Toolbox, or using IIS through URL from the following aspects:
  • ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Data Encoding
  • ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Special Settings
  • ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Size Adjustment
  • ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Image Customization
  • ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Solution Project Support
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Data Encoding
UPC-E Linear Barcode Valid Data
The data encodes in UPC-E is numeric digits from 0 to 9. The value to encode passed to ASP.NET barcode library DLL must be 6 digits only because the 8th digit (the checksum) is automatically calculated by Terrek.Barcode Generator SDK while the first digit is UPC-E system 0 or 1. Users are free to input UPC-E barcode data via BarcodeData property.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456;
UPC-E Human-readable Text
The human-readable text of UPC-E is flexible to be enabled or disabled in barcode symbols. Users may apply this property through DisplayData. Once enabling the input data in barcode symbol, text color, text space, and text font style are adjustable via TextColor, TextSpace, TextStyle.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456&DisplayData=false;
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Special Settings
UPC-E Supplemental Barcode
UPC-E barcode SDK allows users to add 2 or 5 digits supplemental data to the UPC-E barcode. Once encode the UPC-E add-on barcodes, the size related properties needs to be set. Users may add supplemental digits using Symbolproperty and customize add-on barcode size by adjusting AddOnData, AddOnHeight, AddOnMargin respectively. Symbol valid value for UPC-E is UPCE(39), UPCE_AddOn2(40), and UPCE_AddOn5(41).
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=40&BarcodeData = 123456& AddOnData=12& AddOnHeight=0.8& AddOnMargin=2;
UPC-E Number System
A UPC-E barcode represents 6 digits with an implied number system 0. However, a Number System 1 can be used as well. Developers are free to change the Number System if needed by setting up the UPCE-System property to 0 or 1.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=40&BarcodeData = 123456& UPCE-System=1;
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Size Adjustment
UPC-E UOM (Unit of Measure)
Set property MeasuringUnit for properties BarWidth, BarHeight, MarginL and MarginT. Valid values are PIXEL(0), CM(1) and INCH(2). Default is PIXEL (0). With this UOM setting, users can control the whole barcode size to a unique type.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456&MeasuringUnit=2;
UPC-E Bar Size
To adjust the module size of UPC-E barcode in ASP.NET applications, users needs to modify the bar width and bar height through BarWidth and BarHeight property. The whole barcode image is changed according to the adjustment of bar width and bar height.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& BarWidth=2&BarHeight=60;
UPC-E Image Size
If the module sizes of bar width and bar height are unknown, you can set the width and height of the barcode image directly though ImageHeight and ImageWidth property with barcode control library DLL for ASP.NET. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent UPC-E will draw the barcode with reasonable parameters.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& ImageWidth=80& ImageHeight=80;
UPC-E Margin Size
Increasing the width of margins around the symbol is one way to enhance the readability of the UPC-E barcode image by barcode scanner. The ASP.NET barcode generator library SDK set the left, right, top, and bottom margins separately with float values. The default value is 0. The properties in VS ASP.NET barcode library DLL are MarginL, MarginR, MarginB and MarginT.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& MarginL=3& MarginR=3& MarginB=3& MarginT=3;
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Image Customization
UPC-E Image Format
UPC-E inserted in ASP.NET Barcode generator library DLL can be displayed as Gif, Tiff, Bmp, Png, Jpeg and other image formats. Programmers may change the format using BarcodeFormat property. Besides, the created UPC-E can be saved as Bitmap, Stream and Graphic .NET objects.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& BarcodeFormat=Gif;
UPC-E Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. It allows the customization of images created to support reading small barcodes with barcode readers. The resolution of image generated by UPC-E ASP.NET barcode generator component could be managed with DPI. All in all, whether the resolution is, all types of barcode printers are suitable for printing UPC-E with high quality and clear image. Users may change DotsPerInch property.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& DotsPerInch=72;
UPC-E Image Position
UPC-E position in ASP.NET WebForms applications may be influenced by two factors, one is barcode alignment, and the other is rotation. Programmers may set the position by Rotation and BarAlign respectively. Barcode alignment valid value is center(1), left(0) and right(2); barcode rotation valid value is 0(0), 90(1), 180(2) and 270(3) degree.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& BarAlign=1&Rotation=1;
UPC-E Image Color
It is possible to change barcode colors with ASP.NET Barcode Control Library DLL. Both background color and foreground color are easy to be changed by manipulating ImageColor and BarColor respectively.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=39&BarcodeData = 123456& ImageColor=RED&BarColor=GREEN;
ASP.NET Barcode Generator Web Server Library SDK - UPC-E Barcode Solution Project Support
It is free and easy to create UPC-E barcode images in ASP.NET web projects with ASP.NET barcode library generator DLL. The supported ASP.NET project environments are listed below. Guide to generate UPC-E barcode images in ASP.NET server applications.
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)