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 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.
October 30, 2024

Using Styles When Creating Reports in FastReport VCL

The article discusses one of the new features of FastReport VCL — the use of styles and style sheets.
October 28, 2024

How to Set Up WSL 2 for Working with FastReport and FastCube

In this article, we will explore how to set up WSL 2 for working with FastReport and FastCube components in Lazarus for Linux.
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.