GS1-128 Barcode FAQ for ASP.NET

ASP.NET Web Server Control Generator, GS1-128 Barcode Image, Data, and Size Issues
Terrek Barcode for ASP.NET - GS1-128 Barcode FAQ
GS1-128 ASP.NET Barcode Generator SDK is a GS1-compatible barcode generator developed especially for GS1-128 generation. This GS1-128 generator adds GS1-128 generation features into web applications in ASP.NET. The generation of GS1-128 could also be implemented in Microsoft IIS.
In this page, more details of the following aspects of GS1-128 barcode generation in .NET Winform are presented:
  • GS1-128 Generation in ASP.NET - Data Encoding Support
  • GS1-128 Generation in ASP.NET - Barcode Scaling Support
  • GS1-128 Generation in ASP.NET - Image Setting Support
  • GS1-128 ASP.NET Control - Solution Projects Support
Terrek also provides more GS1-128 barcode generators for solutions in distinct developing environments, including GS1-128 Java SDK, GS1-128 Winforms Control, GS1-128 SSRS CRI, and GS1-128 Word Add-in.
GS1-128 Generation in ASP.NET - Data Encoding Support
Valid Data of GS1-128 Generator for ASP.NET:
  • Standard ASCII values: 0-128
    • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    • Uppercase letters (A - Z)
    • Lowercase letters (a - z)
    • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
  • Extended ASCII Values in accordance with ISO 8859-1: 128-255
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16&BarcodeData =(01)GS1-128;
GS1-128 Generation in ASP.NET - Barcode Scaling Support
Module Bar Size
The width of module bar is managed by BarWidth; the height of bar is controlled by BarHeight.

Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16&BarWidth=2& BarHeight=50;
Margins Width
Increasing the width of margins around the symbol is one way to enhance the readability of the GS1-128 barcode image. The control library set the left, right, top, and bottom margins separately with float values.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16& MarginL=10& MarginR=10& MarginT=10& MarginB=10;
Image Size
If the breakdown parameters are not provided, you can set the width and height of the barcode image directly. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent GS1-128 will draw the barcode with reasonable parameters. The generated GS1-128 is 100% compatible with GS1-128 Barcode Standards.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16& ImageResize=true&ImageWidth=150&ImageHeight=50;
GS1-128 Generation in ASP.NET - Image Setting Support
Image Formats
With Terrek Barcode ASP.NET Control DLL, GS1-128 is created as high quality GIF, JPEG, or PNG graphic images. Tiff and Bitmap are supported as well. Please ensure the accordance of image format and suffix of image file name.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16& ImageFormat=Png;
Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by GS1-128 generator could be managed with DPI.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16& DotsPerInch=96;
Image Rotation
In case of any specified requirement of the image orientation, image rotation function is added to the control library. Rotation angles of 90, 180, and 270 degrees are supported.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=16& Rotation=Degree90;
GS1-128 ASP.NET Control - Solution Projects Support
GS1-128 Barcode ASP.NET Control integrates with the following types of projects:
  • ASP.NET Web Site (design-time and runtime support)
  • .NET Web Service Project (runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)