How to Generate UPC-A in VB.NET Application

How to Generate & Print UPC-A Linear Barcode Image with VB Demo Code
  • Compatible with latest GS1 specification to output valid images for all printers
  • Simply generate UPC-A, UPC-A +2 & UPC-A +5 1D barcode images in .NET development environments
  • Print UPC-A with 2-digit/5-digit add-on symbol in VB.NET class & Console Applications
  • Generate and encode 1D UPC-A barcodes in ASP.NET, .NET WinForms, Crystal Reports, etc
  • Offer flexible barcoding options to adjust UPC-A image properties like width, height, orientation, etc
  • Create UPC-A pictures and save to local files in Png, Gif, Jpeg/Jpg, Bmp/Bitmap & Tiff image formats
  • Calculate and add checksum digit for UPC-A barcode image in VB.NET automatically
UPC-A Barcode Creator Overview in VB.NET
KA.Barcode Generator for .NET Suite is a powerful barcode encoder component library which allows generating and barcoding UPC-A barcodes in .NET Framework 2.0, 3.0, 3.5 and above versions. In addition, developers can customize the generated barcode image through Visual Baisc .NET programming. Download KA.Barcode for .NET Suite evaluation package for free.
UPC-A Barcode Introduction
UPC-A is GS1 barcode symbology also named as Universal Product Code version A, UPC-A+2, UPC-A Supplement 2 (Two-digit Add-On Barcode), UPC-A+5, UPC-A Supplement 5 (Five-digit Add-On Barcode), UPC Bar Code, UPC Symbol, GTIN-12 & GS1-12.
  • UPC-A Encodable Data: numeric digits 0-9
  • UPC-A Data Capacity: 12 digits (The last checksum digit will be automatically added by KeepAutomation's software)
Stream UPC-A in ASP.NET with VB Class
VB.NET Barcode Generator Library is a reliable barcode component that supports UPC-A barcode generation in ASP.NET. Free VB sample code is provided on this ASP.NET barcode generation tutorial. You can use this barcode library and free VB sample code to create UPC-A barcode images in ASP.NET websites.
Add UPC-A in .NET WinForms with VB Class
To generate UPC-A barcode images in .NET Windows Forms using VB.NET programming, this VB.NET barcode creator dll is a good choice. Read this VB.NET barcode generation guide in WinForms carefully and you will find it so easy to generate UPC-A barcodes in WinForms.
Create UPC-A in Crystal Reports with VB Class
We kindly offer developer guide for VB barcode generation in Crystal Reports to assist in UPC-A barcode creation. Many developers have downloaded our trial version of VB.NET barcode generator and followed this developer guide to create UPC-A barcode images in Crystal Reports successfully.
Insert UPC-A in RDLC Reports with VB Class
Here is a tutorial for barcode creation in RDLC Reports with VB sample code, with which it is simple to create UPC-A barcode images in RDLC Reports using VB class.
Generate UPC-A Using VB.NET Sample Code
This barcode encoder SDK supports UPC-A barcode generation in VB.NET with demo code. The following demo code is free of charge, through which you can change properties of generated UPC-A barcode. Copy the code to your project for testing.
VB Sample code
     Dim upca As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
upca.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2
upca.CodeToEncode = "22446688001"

'Apply checksum for UPCA barcode.
upca.ChecksumEnabled = True
'Display checksum in UPCA barcode text
upca.DisplayChecksum = True

'UPCA unit of measure, Pixel, Cm and Inch supported.
upca.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
'UPCA image resolution in DPI.
upca.DPI = 72

'Set UPCA image size

'UPCA bar module width (X dimention)
upca.X = 1
'UPCA bar module height (Y dimention)
upca.Y = 60

'Image left margin size, a 10X is automatically added according to specification.
upca.LeftMargin = 0
'Image right margin size, a 10X is automatically added according to specification.
upca.RightMargin = 0
'UPCA image top margin size'
upca.TopMargin = 0
'UPCA image bottom margin size'
upca.BottomMargin = 0

'UPCA supplemental data settings.
'To enable this, you need to set barcode symbology into "UPCASup2", or "UPCASup5"
'Supplement code. It should be 2 or 5 digits
upca.SupplementCode = "02"
'Supplement bar height vs primary bar height ratio.
upca.SupplementHeight = 0.8F
'Space between barcode and supplement barcode
upca.SupplementSpace = 15


'Orientation, 90, 180, 270 degrees supported' UPCA image bottom margin size
upca.Orientation = KeepAutomation.Barcode.Orientation.Degree0
'UPCA image formats in Png, Gif, Jpeg/Jpg, Tiff, Bmp, etc.
upca.ImageFormat = System.Drawing.Imaging.ImageFormat.Bmp

'Set UPCA human readable text style
upca.DisplayText = True
upca.TextFont = New Drawing.Font("Arial", 10.0F, Drawing.FontStyle.Regular)
'Space between barcode and text
upca.TextMargin = 6

upca.generateBarcodeToImageFile("C://upca-vb-net.bmp")
VB - Web UPC-AVB - Windows UPC-AVB - Crystal UPC-AVB - RDLC UPC-AVB - UPC-AUsing C#Using VB.NETData Matrix for VB.NETPDF417 for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETCode 128 for VB.NETEAN-8 for VB.NETEAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-E for VB.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.