Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Creation Guide > ASP.NET GS1-Compatible Barcode Generator Control
Download Barcode for ASP.NET Trial

Generate GS1-Compatible Barcodes in ASP.NET Web Applications

How to Generate & Create GS1 Linear & 2D Barcode Images in ASP.NET Web Services
  • Mature ASP.NET barcode generation component, supporting VB.NET & C# class codes
  • Powerful ASP.NET barcode generator, supporting GS1 linear & 2d barcode generation
  • Quickly generate GS1 barcodes in ASP.NET web site, like ASP.NET QR Code & EAN-128
  • Easily output created GS1-compatible barcodes to gif, png, bmp & jpeg image files
  • Generated & created GS1 barcodes are compatible with international standards
  • Offer flexible developer licenses and prompt technical support for ASP.NET programmers
Brief Introduction on GS1-Compatible Barcodes
The most distinguishing feature of GS1-compatible barcodes is that they could not only encode the data but also encode the information that the data has carried. This is why GS1 barcodes can provide a worldwide format for data exchange among various companies and organizations. The ASP.NET barcode generating sdk from BarcodeLib.com allows users to easily encode GS1 System Application Identifiers (AI) into both linear & 2d barcode types.
How to Generate GS1 Barcodes in ASP.NET Web Services
There are two ways to generate GS1-compatible barcodes in ASP.NET web services. One is in IIS and the other is in ASP.NET web form controller.

Generate GS1-Compatible 1D & 2D Barcodes in IIS

  • Copy barcode folder from downloaded trial package to your IIS folder, eg. C:\inetpub
  • Create a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in Inetpub.
  • Restart your Microsoft IIS and navigate to (Here, we take QR Code as an example of 2d barcodes):
    "http://YourDomain:port/barcode/qrcode.aspx?Data=%2801%290123456789&ModuleSize=3&LeftMargin=12&RightMargin=12&TopMargin=12&BottomMargin=12&FNC1Mode=1"

    Note:
  • The "FNC1Mode=1" is used to activate the GS1-compatible function.
  • The GS1-comopatible 2d barcodes must encode their data in the form of an Application Identifier (AI) plus a data field.
  • If you want to generate a 1d GS1-compatible barcode (Here, we take EAN-128 as an example), please navigate to:
    "http://YourDomain:port/barcode/linear.aspx?Type=10&Data=(11)121211&LeftMargin=12&RightMargin=12"

Generate & Print GS1 Barcodes in ASP.NET Web Form Controller

1. Barcode DLL for ASP.NET Installation
  • Add "Barcodelib.Barcode.ASP.NET.dll" to your asp.net project reference and the toolbox of Visual Studio.
2. Barcode DLL for ASP.NET Implementation

For 2D barcodes generation (Take Data Matrix as an example)
  • Open "barcode" folder in your unzipped trial package, and copy files "datamatrix.aspx", "datamatrix.aspx.cs" to the aspx page where you will be generating Data Matrix images.
  • Drag & drop "DataMatrixASPNET" to your ASP.NET web site and change the "FNC1Mode" to "FirstPosition" in the Properties window.
  • Change the data value to the form of an Application Identifier (AI) plus a data field, for instance, "(12)234567".
For linear barcodes generation (Take ITF-14 barcode as an example)
  • Copy "linear.aspx", "linear.aspx.cs" from folder barcode to your asp.net project folder.
  • Drag & drop "LinearASPNET" to your asp.net form controller directly.
  • Change its type to ITF-14 and change its data to a 14-digit data in the Properties window.
  • Generated ITF-14 barcode is GS1-compatible.
How to Create GS1 Barcodes in ASP.NET Using C# or VB.NET
ASP.NET barcode generator from Barcodelib.com can easily generate GS1-compatible linear & 2d barcode types in ASP.NET web applications using Visual C# and Visual Basic. See as below:
Products with GS1 Barcode Generating Function
ASP.NET Linear & 2D Barcode Types
ASP.NET Linear Barcodes:
ASP.NET 2D Barcodes: