KA.Barcode Generator for .NET Suite
How to Create & Resize EAN-128 in VB.NET
VB.NET source code to generate, print GS1-128/EAN-128 images using Barcode Generator for .NET Control
  • Full integration into .NET Framework & Compatible with .NET development environments
  • Data Matrix Excel, C# EAN 128, .NET WinForms Intelligent Mail, UPC-E Word & VB.NET Intelligent Mail can be created as well
  • Easy to add GS1-128/EAN-128 generating SDK for VB.NET to Microsoft Visual Studio 2005/2008/2010
  • Create and make GS1-128/EAN 128 1D barcodes in ASP.NET web pages & Windows Forms
  • Compatible with latest GS1 specification to draw, print scannable GS1-128/EAN-128 image for all readers
  • 100% VB.NET sample code provided for customizing GS1-128/EAN 128 1D bar code images
  • Drawing, creating GS1-128/EAN-128 pictures with 3 options of measuring units
  • Embedding dynamic linear & 2D barcodes, such as Code 39 .NET WinForms, EAN-8 Word, Word EAN-13, EAN-13 Excel, in your applications
  • Simple to adjust quiet margin surrounding 1D GS1-128/EAN-128 images
  • Capable of drawing, creating maximum X in a fixed GS1-128/EAN-128 image width
GS1-128/EAN-128 Barcode Creator for .NET Suite is a best professional barcode library component SDK plugin for making, barcoding GS1-128/EAN-128 in VB.NET class & console applications, IIS. This document provides complete VB.NET tutorial to change barcode size via X, Y dimension, barcode width & height, margin of left & right, etc. User guide for GS1-128 data encoding and image setting are also provided, please see:
Net winforms is robust and powerful barcode component controller that lets you to integrate barcode generation features nto .net winforms or other...
To create 1D, matrix number barcode return images in Visual C#.NET, Visual Basic class & ....
Visual Studio by using free C#.NET Barcode Library DLL with use-friendly interface. This product is complied completely in best C# programming code,...
1D, matrix barcode in Crystal Reports using Visual C#.NET class. ....
more>
GS1-128/EAN-128 Barcode Structure
GS1-128/EAN-128

GS1-128/EAN-128 barcode (a.k.a EAN-128, UCC-128) is constructed of:
  • Left Quiet Zone
  • A code128 start character (START-A, START-B or START-C)
  • A code128 FNC1 character
  • Application Identifier (AI)
  • Message encoded
  • Check character
  • Stop Character
  • Termination bar
  • Right Quiet Zone
GS1-128/EAN-128 Size Setting in VB.NET Programming

Install EAN-128 Barcode Creator SDK into VB.NET Projects

  1. 1.
  2. 2.
    Copy KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll to your VB.NET project folder
  3. 3.
    Open Microsoft Visual Studio, choose "Add Reference" in "Project"
  4. 4.
    Browse KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll
  5. 5.
    Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references
Copy those following VB.NET barcode examples onto you forms for EAN-128 generation:
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology= KeepAutomation.Barcode.Symbology.EAN128
barcode.CodeToEncode = "(00)GS1-128/EAN-128"
barcode.generateBarcodeToImageFile("C://barcode-gs1-128-vbnet.gif")

Adjusting GS1-128/EAN-128 Barcode BarcodeUnit

BarcodeUnit (URL: barcode-unit; Default: Pixel): it is the unit measurement for all size related settings in GS1-128/EAN-128 barcodes. User may change it with "Pixel", "Inch" and "Cm". Replace sample code with following one:
barcode.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel

Creating GS1-128/EAN-128 with Specified X and Y

X (URL: x; Default: 1): it is the width of the narrow bar in GS1-128/EAN-128 barcodes

Y (URL: y; Default: 50): it is the height of bars in GS1-128/EAN-128 barcodes.

Replace sample code with following one:
barcode.X = 3
barcode.Y = 75

Generating GS1-128/EAN-128 with Fixed BarCodeWidth and BarCodeHeight

BarCodeWidth (URL: barcode-width; Default: 0): it is the barcode width of GS1-128/EAN-128 barcodes.

BarCodeHeight (URL: barcode-height; Default: 0): it is the barcode height of GS1-128/EAN-128 barcodes.

Replace sample code with following one:
barcode.BarCodeWidth = 200
barcode.BarCodeHeight = 75

Printing GS1-128/EAN-128 with Quiet Zones/ Margins

TopMargin (URL: top-margin; Default: 0): it is the barcode image top margin in GS1-128/EAN-128 barcodes.

BottomMargin (URL: bottom-margin; Default: 0): it is the barcode image bottom margin in GS1-128/EAN-128 barcodes.

LeftMargin (URL: left-margin; Default: 0): it is the barcode image left margin in GS1-128/EAN-128 barcodes.

RightMargin (URL: right-margin; Default: 0): it is the barcode image right margin in GS1-128/EAN-128 barcodes.

Replace sample code with following one:
barcode.TopMargin = 8
barcode.BottomMargin = 8
barcode.LeftMargin = 6
barcode.RightMargin = 6