C# GS1 DataBar Generator Library SDK
How to generate, print GS1 DataBar (RSS) barcode images in C# Web & WinForms applications
"This .NET suite helps my team a lot, a bunch of time being saved. OnBarcode support is awesome, and we couldn't ask more than this."
- Bill Twain, Canada
Using GS1 DataBar C#.NET Barcode Control to generate GS1 DataBar (RSS) family barcode images in .NET Applications
- Compile all barcoding features into one C#.NET Barcode Generator Library (DLLs)
- Generate, draw linear GS1 DataBar barcode images using C#.NET Class
- Support all the sub typs of GS1 Databar as stated in the GS1 Specification
- Create, print GS1 DataBar (RSS family) barcode images in C# ASP.NET Web Form projects
- Generate GS1 DataBar linear barcodes in Visual Studio .NET Windows Forms projects using C#
- Print, draw GS1 DataBar barcodes on C#.NET SQL Server Reporting Servicess, Crystal Reports & RDLC Reports
- Support other 1d and 2d barcodes generation in C#, such as C# Code 39, C# Code 128, C# EAN-13, C# Interleaved 2 of 5, C# UPC-A, C# QR Code, C# Data Matrix, C# PDF417
C# GS1 DataBar Generator Library (DLLs) Introduction
Top
GS1 DataBar is a family of barcode types most commonly seen in the GS1 DataBar Coupon. Based on GS1 Standard, it all includes these versions: GS1 DataBar-14, GS1 DataBar-14 Truncated, GS1 DataBar-14 Stacked, GS1 DataBar-14 Stacked Omni-directional, GS1 DataBar Limited (formerly RSS Limited), GS1 DataBar Expanded (formerly RSS Expanded), and GS1 DataBar Expanded Stacked (formerly RSS Expanded Stacked).
GS1 DataBar C# Barcode Generator Control is one of the functions in OnBarcode's
.NET Barcode Generator Suite, which can be used to encode, create and print more than 20 other linear & matrix barcode images for Visual C#.NET applications.
Related GS1 DataBar (RSS family) Generator Libraries & SDKs
Besides this bar coding product, we also provide other GS1 DataBar Bar Code Components:
.NET GS1 DataBar,
ASP.NET GS1 DataBar,
VB.NET GS1 DataBar .
This page provide detailed C# source code about generating & drawing GS1 DataBar barcode images in C# class library using .NET Barcode Generation Component.
Barcode SDKs which you may also be interested in
Generate and Print GS1 DataBar (RSS) Barcodes Using C# Class
Top
Please use the following C# sample code to generate a GS1 DataBar barcode image for Visual Studio .NET Framework programs:
using System;
using System.Collections.Generic;
using System.Text;
using OnBarcode.Barcode;
using System.Drawing.Imaging;
using System.Drawing;
Linear GS1_DataBar = new Linear();
GS1_DataBar.Type = BarcodeType.RSS14;
/*
GS1 DataBar (RSS family) valid data character set:
1) GS1 DataBar-14 versions and GS1 DataBar Limited: Digits 0 through 9 (with the
restriction of GS1 DataBar Limited to 0 or 1 in the first digit)
2) GS1 DataBar Expanded: a subset of Table 1 of the International Standard ISO/IEC 646,
consisting of the uppercase and lowercase letters, digits, spaces, and 20 selected
punctuation characters in addition to the Function 1 Character (FNC1)
*/
GS1_DataBar.Data = "01222228888800";
// GS1 DataBar (RSS family) Image Size Related Settings
GS1_DataBar.UOM = UnitOfMeasure.PIXEL;
GS1_DataBar.X = 2;
GS1_DataBar.Y = 78;
GS1_DataBar.BarcodeHeight = 103;
GS1_DataBar.BarcodeWidth = 202;
// GS1 DataBar (RSS family) Text Settings
GS1_DataBar.ShowText = true;
GS1_DataBar.TextFont = new Font("Arial", 9f, FontStyle.Regular);
GS1_DataBar.TextMargin = 6;
// Other Related Settings
GS1_DataBar.Rotate = Rotate.Rotate0;
GS1_DataBar.Resolution = 96;
// Generate GS1 DataBar Image Format Setting
GS1_DataBar.Format = System.Drawing.Imaging.ImageFormat.Png;
GS1_DataBar.drawBarcode("C://gs1_databar.png");
// Print GS1 DataBar to C# Bitmap object
Bitmap GS1_DataBarBitmap = GS1_DataBar.drawBarcode();
More C# Barcode Generation Tutorials for Each Barcode
Top
Barcode Control for C#.NET - Bar Code Type Generation