How to generate and print GS1-128(UCC/EAN-128) barcode in an image in VB.NET applications
VB.NET Barcode Generator for GS1-128 Generation
  • Professional barcode component for .NET 2.0/3.0/4.0
  • Generate QR Code, UPC/EAN, GS1-128, ISBN, and more in .NET
  • Support VB.NET, C#, Managed C++ and Borland Delphi for .NET.
GS1-128 Bar Code Generator in VB.NET
  • Add dynamic GS1-128 generation features into projects in VB.NET
  • Create dynamic GS1-128 barcode image using control library
  • Strong named and digital signed assembly & DLL
  • Encode Application Identifiers (AI) with a simple method
  • Capable of calculating GS1-128/EAN-128 check digit automatically
  • Support rotation and alignment setting of the barcode image
  • Create barcodes in common image formats, such as JPEG, PNG, BMP, GIF, and TIFF
  • Royalty-free distribution license is provided to every purchaser
.NET GS1-128 Generator Control is a powerful and efficient .NET SDK for VB.NET programmers to integrate GS1-128 into their projects. The generator is written entirely in managed code, and is unmatched flexible in .NET. It adds robust GS1-128 generation features into a variety types of projects in VB.NET IDEs.
.NET GS1-128 Generator supports the following types of projects in VB.NET:
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)
.NET GS1-128 Generator Library in VB.NET - GS1-128 Specifications
GS1-128 is an application standards built by GS1 using Code 128 symbology specification. It was known as UCC/EAN128 in the past. GS1-128 is used to identify data with Application Identifiers (AI) which indicate best before dates, batch numbers, quantities, weights, and many other attributes of the trade item.
.NET GS1-128 Generator valid data:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Upper case letters (A - Z)
  • Lower case letters (a - z)
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
.NET GS1-128 Generator in VB.NET - GS1-128 Generation

Install barcode generator for GS1-128 creation in VB.NET projects

Before you create GS1-128 in VB.NET, you need to install:
  • Windows XP, Windows Vista and Windows 7
  • .NET 2.0, 3.0 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • Avapose.Barcode for .NET

Generate GS1-128(EAN/UCC-128) barcode in VB.NET using barcode creator library in .NET Class

  1. Download trial package and unzip;
  2. Add Avapose.linearbarcode.winforms.dll to the VB .NET Winform project reference;
  3. Drag and drop a button to the form, and double-click the button;
  4. In the Form1.cs, copy the following sample code to accordingly

Dim barcode As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
barcode.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Gs1128
barcode.BarcodeData = "0123456789"
barcode.ApplyTilde = True

' barcode Size
barcode.MeasurementUnit = Avapose.linearbarcode.MeasurementUnit.Pixel
barcode.BarWidth_X = 2
barcode.BarHeight_Y = 50
barcode.BottomMargin = 10
barcode.TopMargin = 10
barcode.LeftMargin = 10
barcode.RightMargin = 10
barcode.BarcodeWidth = 175
barcode.BarcodeHeight = 50
barcode.ResizeBarcode = True
barcode.HoriBarAlignment = Avapose.linearbarcode.HoriBarAlignment.Center
barcode.Rotation = Avapose.linearbarcode.Rotation.Degree0

' Barcode Color
barcode.BackgroundColor = Color.White
barcode.ForegroundColor = Color.Black

'Barcode Text
barcode.CheckSumInText = True
barcode.DisplayText = True
barcode.TextFont = New Font("Times New Roman", 9, FontStyle.Regular)
barcode.TextColor = Color.Black
barcode.TextDistance = 4

'Barcode Image
barcode.Resolution = 96
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif

'create, draw, paint barcode on Graphics object
Public Sub DrawBarcodeImage(ByVal graphics As System.Drawing.Graphics)
'create, draw, paint barcode on Bitmap object
Public Function DrawBarcodeImage() As System.Drawing.Bitmap
'create and draw to image file
Public Sub DrawBarcodeImage(ByVal filename As String)
'create, draw, paint barcodeon Stream object
Public Sub DrawBarcodeImage(ByVal fileStream As System.IO.Stream)
Related UCC/EAN-128 Barcode Integration & Generation Information
The following UCC/EAN-128 barcode integration and creation information links relate to this product that may be of interest to you:
Testmonial for Avapose Barcode Generator for .NET
We bought your product .NET Barcode Generator for VB.NET programming a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.