How to Generate UPC-A in ASP.NET Application

How to Generate UPC-A Barcode Symbologies in ASP.NET Web Applications
  • Compatible with .NET Framework 2.0 and greater, MS Visual Studio and other ASP.NET development environments
  • Stream UPC-A, UPC-A+2, UPC-A+5 linear bar code images in ASP.NET web sites and web forms
  • Print 1D UPC-A in Microsoft Internet Information Service (IIS) in Png, Gif, Jpeg, Tiff & Bmp image formats
  • Easy to use, just drag and drop the barcode control, or copy files into virtual directory
  • Support C#.NET, Visual Basic programming to stream & insert 1D UPC-A barcodes in ASP.NET projects
  • Specify UPC-A barcodes generated in IIS as URL to allow usage in other development environments
  • Automatically add valid checksum digit for UPC-A according to latest GS1 specifications
  • Support major web browsers; compatible with all printers with adjustable UPC-A resolution settings
ASP.NET UPC-A Barcode Generator Details
KA.Barcode for ASP.NET is a powerful barcode encoder component API SDK for best UPC-A generation in ASP.NET webform/website. With the user-friendly interface, flexible barcoding options and detailed tutorials, web developers can easily print, stream high-quality UPC-A images for all printers and scanners, using Visual C#, VB.NET.
UPC-A Overview in ASP.NET
UPC-A is also known as UPC Bar Code, UPC Symbol, GTIN-12, GS1-12 and is widely used for retailing industry to track Global Trade Item Numbers (GTIN) since 1970s.
UPC-A Encodable Characters in ASP.NET
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Download UPC-A Barcode Generator for ASP.NET
This demo package includes: KeepAutomation.Barcode.Web.dll, a "barcode" folder including barcode.aspx.cs & barcode.aspx, end user license agreement, user manual and the order page.Developers can download KA.Barcode for ASP.NET demo package without charge. It is allowed for demo purposes only as the generated UPC-A barcode images contains a "KA Barcode" watermark randomly.
How to Generate UPC-A With ASP.NET Web Control
  1. Newly establish a ASP.NET web project in Visual Studio.
  2. Copy "barcode.aspx" and "barcode.aspx.cs" in "barcode" folder to the target folder.
  3. Add "KeepAutomation.Barcode.Web.dll" to your Visual Studio "Toolbox".
  4. Drag and drop "BarCodeControl" under "Toolbox" into the web form.
  5. Select UPCA barcode type in "Properties" panel.
  6. Reset properties of the generated UPC-A barcode image through the "Properties" panel.
How to Generate UPC-A in C# or VB.NET Programming
Developers are allowed use the free C# or VB.NET sample code below to generate UPC-A in ASP.NET web forms/websites.
  1. At first, add reference "KeepAutomation.Barcode.Web.dll" to your ASP.NET Web project.
  2. Next, just copy the following free C# or VB.NET barcoding sample code.
C# Sample code
     BarCode upca = new BarCode();
upca.Symbology = KeepAutomation.Barcode.Symbology.UPCA;
upca.CodeToEncode = "11111555551";
upca.X = 2;
upca.generateBarcodeToImageFile("C://upca-csharp.png");

VB Sample code
     Dim upca As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upca.Symbology = KeepAutomation.Barcode.Symbology.UPCA
upca.CodeToEncode = "22222333331"
upca.X = 2
upca.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
upca.generateBarcodeToImageFile("C://upca-vb-net.png")

How to Generate UPC-A with Supplemental Digits in ASP.NET
It is possible to utilizing UPC-A Supplement two/five-digit add-on to encode detailed information in ASP.NET applications. Users could set supplement barcode height and space by changing related properties "SupplementCode", "SupplementHeight" and "SupplementSpace".
C# Sample code
     upca.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2;
upca.SupplementCode = "23";
upca.SupplementHeight = 0.8f;
upca.SupplementSpace = 15;
VB Sample code
     upca.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2
upca.SupplementCode = "23"
upca.SupplementHeight = 0.8f
upca.SupplementSpace = 15
How to Generate UPC-A in Microsoft IIS Through URL
  1. Copy "barcode" folder from the unzipped trial package and its contents to your IIS.
  2. Now, create a new virtual directory "barcode".
  3. Then, restart IIS and navigate to "http://YourDomain:port/barcode/barcode.aspx?code-to-encode=11223344556&symbology=36&X=2" (For UPC-A add-on Symbology: UPCA=36, UPCASup2=37, UPCASup5=38 ).
  4. The UPC-A barcode image is generated and you can change barcode properties in the url above, view http parameters here.
  5. Just insert the following image tag into your web pages <img src="http://YourDomain:port/barcode/barcode.aspx?code-to-encode=11223344556&symbology=36&X=2" (For UPC-A add-on Symbology: UPCA=36, UPCASup2=37, UPCASup5=38 )/> to add the created barcode images in html or aspx pages.
Free Trial DownloadASP.NET UPC-A.NET Class UPC-AIIS UPC-AUsing C#Using VB.NETData Matrix for ASP.NETPDF417 for ASP.NETQR Code for ASP.NETmoreCodabar for ASP.NETCode 39 for ASP.NETCode 128 for ASP.NETEAN-8 for ASP.NETEAN-13 for ASP.NETEAN 128 for ASP.NETIntelligent Mail for ASP.NETInterleaved 2 of 5 for ASP.NETISBN for ASP.NETITF-14 for ASP.NETRM4SCC for ASP.NETUPC-E for ASP.NETmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from RasterEdge.com.