GS1 Databar barcodes in FastReport .NET

2021-12-06

FastReport .NET

We have added the following barcodes:

– GS1 Databar Limited;

– GS1 Databar Omnidirectional;

– GS1 Databar Stacked;

– GS1 Databar Stacked Omnidirectional.

GS1 DataBar is a highly versatile product labeling symbol primarily intended for scanning at POS terminals. GS1 DataBar is capable of encoding the GTIN (Global Trade Item Number) on small consumer products, which are difficult to label with a standard EAN-13 symbol. This is fresh (weight) produce, jewelry, or “do it yourself" products.

Data encoded with GS1 Databar Limited, GS1 Databar Omnidirectional, GS1 Databar Stacked, GS1 Databar Stacked Omnidirectional consists of an Application ID (01), a 13-bit Numeric Trade Item ID, and a Check Digit.

Note: leading digits (01) are an implied application identifier that is not to be encoded in the symbol and is displayed only as text to show that data is encoded for basic use.

The character standard is defined by ISO/IEC 24724-2011, which describes instructions for decoding barcodes.

GS1 Databar Omnidirectional

GS1 Databar Omnidirectional barcode is designed for omnidirectional reading and can be used at POS.

GS1 Databar Limited

GS1 Databar Limited barcode is designed for unidirectional reading and cannot be used at POS.

GS1 Databar Stacked Omnidirectional

GS1 Databar Stacked Omnidirectional Barcode is a GS1 Databar Omnidirectional split into two lines. It is designed for omnidirectional reading and can be used at POS.

GS1 Databar Stacked

GS1 Databar Stacked Barcode is a GS1 Databar Omnidirectional split into two lines. It is designed for unidirectional reading that cannot be used at POS.

Generating GS1 Databar Omnidirectional from code:

//Create a report object
 Report report = new Report();
 //Create a report page
 ReportPage page = new ReportPage();
 //add a unique identifier
 page.CreateUniqueName();
 //Add it to the collection of report pages
 report.Pages.Add(page);
 //Create a data band
 DataBand dataBand = new DataBand();
 //with a unique identifier
 dataBand.CreateUniqueName();
 //and add it to the band collection
 page.Bands.Add(dataBand);
 //Create a barcode object
 FastReport.Barcode.BarcodeObject barcode = new FastReport.Barcode.BarcodeObject();
 //Set the barcode type
 barcode.Barcode = new FastReport.Barcode.BarcodeGS1Omnidirectional();
 //Set a numeric combination for encoding
 barcode.Text = "1234567890123";
 //Place the barcode on the page
 barcode.Parent = dataBand;
 //Set the size of the object 
 barcode.Bounds = new RectangleF(0, 0, Units.Centimeters * 10, Units.Centimeters * 3);
 //Display the report
 report.Show();

These barcodes allow users to encode the required product data and use it for various purposes.

November 26, 2024

Installing FastReport on .NET 8.0 and Creating a Simple Report

The purpose of this article is to explain step by step how to install FastReport on .NET 8.0 and how to create a simple report. Taking the reporting process from the beginning, it will show how to connect, design and view reports.
November 20, 2024

Localization and Language Switching in FastReport VCL

FastReport VCL supports 40 languages for interface localization and allows you to change the language on the fly through menus or code, without recompilation.
November 01, 2024

New Features of the FastReport VCL Editor

We are considering new features of the report editor: extension lines, highlighting of intersecting objects, updated report and data trees.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2024 Fast Reports Inc.