Output barcode screenshot (EAN-8 symbology)

EAN-8 sample barcode

EAN-8 barcode. This symbology is a short version of EAN-13 that is intended to be used on packaging which would be otherwise too small to use one of the other versions. Used with consumer products internationally. EAN-8 symbology allows only numeric values to be encoded.

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open “Bytescout Software” tab and drag-n-drop “BarCode” control into your WinForms or ASP.NET application (in design mode)

How to make EAN8 barcode:

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()
‘ Create new barcode
Dim barcode As New Barcode()

‘ Set symbology
barcode.Symbology = SymbologyType.EAN8
‘ Set value
barcode.Value = “123456”

‘ Save barcode to image

‘ Show image in default image viewer
End Sub

End Module


using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

using Bytescout.BarCode;

namespace Sample
class Program
static void Main(string[] args)
// Create new barcode
Barcode barcode = new Barcode();

// Set symbology
barcode.Symbology = SymbologyType.EAN8;
// Set value
barcode.Value = “123456”;

// Save barcode to image

// Show image in default image viewer