Online Guide

How to Use BC.NetBarcodeGenerator.Ean8
To create EAN-8 barcodes in .NET Windows Forms, ASP.NET Web Forms, and IIS applications.

Guide Overview

In addition to using BC.NetBarcodeGenerator.Ean8 library to create EAN-8 barcodes in .NET Class, you can also encode and create EAN-8 in .NET Windows Forms, ASP.NET Web Forms, and IIS applications in other ways. Please firstly download and get the free trial library of BC.NetBarcodeGenerator.Ean8. And the only thing for integration is to add your project reference to the library dll.

BC.NetBarcodeGenerator.Ean8

PLEASE NOTE, ASP.NET web project and .NET Windows Forms project demos are included in our free trial package. Please download a trial to see more.


1. Create EAN-8 with Controller

One is for creating EAN-8 on ASP.NET Web Forms, and another is for .NET Windows Forms. Please note that you can set barcode properties in the property window.

How to in ASP.NET Web Forms

1. Create an ASP.NET Web Forms project.
2. Add the project reference to BC.NetBarcodeGeneratorTrial.Ean8.dll.
3. Right-click in Visual Studio ToolBox, select "Add a Tab", and name it as "BC".
4. Right-click on "BC" and click "Choose Item...".
5. Click button "Browse..." and open BC.NetBarcodeGeneratorTrial.Ean8.dll.
6. Check the EAN-8 component of BC.AspNetBarcodeGeneratorTrial and click "OK".
7. Successfully add EAN-8 component under the "BC" tab in Visual Studio Toolbox.
8. Copy "BC.AspNetBarcodeGeneratorTrial.Ean8.aspx" and "BC.AspNetBarcodeGeneratorTrial.Ean8.aspx.cs"
from unzipped package "BC.IIS" folder to the same folder as your aspx pages. 9. Drag "BCWebEan8" component to your ASPX web forms and run your website.

How to in .NET Windows Forms

1. Create a .NET Windows Forms project.
2. Add the project reference to BC.NetBarcodeGeneratorTrial.Ean8.dll.
3. Right-click in Visual Studio ToolBox, select "Add a Tab", and name it as "BC".
4. Right-click on "BC" and click "Choose Item...".
5. Click button "Browse..." and open BC.NetBarcodeGeneratorTrial.Ean8.dll.
6. Check the EAN-8 component of BC.NetWinBarcodeGeneratorTrial and click "OK".
7. Successfully add EAN-8 component under the "BC" tab in Visual Studio Toolbox.
8. Drag "BCWinEan8" component to your Windows Forms and run your project.

2. Create EAN-8 with BC.IIS

This section illustrates how to create and stream EAN-8 barcode image in IIS web application using our built-in EAN-8 barcodes generation application ("BC.IIS"). And you can find it after unzipping our free trial package. So, please get the free trial firstly.

How to in IIS

1. Copy "BC.IIS" folder to your Internet Information Services (IIS) folder, like C:\inetpub.
2. In IIS, create a new virtual directory and name it as "BC.Test" and connect it to "BC.IIS" in C:\inetpub.
3. Restart IIS, open a web browser, and navigate to the following sample URL:
   http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Ean8.aspx?SetType=6&SetData=0102030&SetX=1&SetDPI=96
4. To insert an EAN-8 barcode in your HTML or aspx pages, you can directly insert an image tag (img) into the web pages. For example,
   <img src="http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Ean8.aspx?SetType=6&SetData=0102030&SetX=1&SetDPI=96">
   
Please Note: 
1. You can adjust all barcodes properties via setting web stream URL parameters.
2. BC.NetBarcodeGenerator.Ean8 only supports EAN-8 generation for .NET applications. To generate all 1D barcodes in .NET and generate all 2D 
barcodes in .NET
, you should use our BC.NetBarcodeGenerator.All.




Guide for Each Barcode Symbology