PDF-417 Barcode FAQ for ASP.NET

ASP.NET Web Server Control Generator, PDF-417 Barcode Image, Data, and Size Issues
Terrek Barcode for ASP.NET - PDF-417 Barcode FAQ
PDF417 ASP.NET SDK is a 2D barcode image generator developed especially for PDF-417. The generations of PDF-417 variations including Macro PDF-417 and Truncated PDF-417 are supported. With the integrated PDF-417 Barcode Control DLL, generating PDF-417 in ASP.NET is no longer complicate. In additional, PDF-417 generation in IIS is supported.
In this page, we will lead you go through the following aspects of PDF-417 barcode generation in .NET Winform:
  • PDF-417 Generation in ASP.NET Web Applications - Data Encoding Support
  • PDF-417 Generation in ASP.NET Web Applications - Barcode Scaling Support
  • PDF-417 Generation in ASP.NET Web Applications - Image Setting Support
  • PDF-417 ASP.NET Control - Solution Projects Support
More PDF-417 barcode generators are provided by Terrek for solutions in distinct developing environments, including PDF-417 Java SDK, PDF-417 .NET SDK, PDF-417 Excel Add-in, and PDF-417 Word Add-in.
PDF-417 Generation in ASP.NET Web Applications - Data Encoding Support
PDF-417 Character Set
The character set of PDF-417 are as follows:
  • Standard ASCII values 0-127
  • Extended ASCII values 128-225
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44&BarcodeData =Terrek PDF417;
PDF-417 ASP.NET Control Data Mode
PDF-417 ASP.NET Control encodes above data with one of the following data modes:
  • PDF417DataMode.Auto (0): automatically set the data mode among text, byte, and numeric according to specified data
  • PDF417DataMode.Text (1): each module represents one or two characters.
  • PDF417DataMode.Byte (2): each group of five modules represents 6 bytes.
  • PDF417DataMode.Numeric (3) : groups of up to 15 modules represent as many as 44 decimal digits.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44&PDF417DataMode=Auto;
PDF-417 Generation in ASP.NET Web Applications - Barcode Scaling Support
Module Bar Size
The module bars in PDF-417 is particular therefore should be defined with specified method. As linear barcodes, the width of the module bar is managed by BarWidth; the height of the module bar is influenced by BarWidth and WideVSNarrow.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44&BarWidth=2& WidthVSHeight=0.4;
Rows and Columns
The account of the rows and columns of module bars are adjusted with PDF417Row and PDF417Column.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44&PDF417Row-5&PDF417Column=5;
Margins Width
Increasing the width of margins around the symbol is one way to enhance the readability of the PDF-417 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=44& 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 PDF-417 will draw the barcode with reasonable parameters. The generated PDF-417 is 100% compatible with ISO / IEC 15438 (2nd edition 2006-06-01).
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44& ImageResize=true&ImageWidth=150&ImageHeight=50;
PDF-417 Generation in ASP.NET Web Applications - Image Setting Support
Image Formats
With Terrek Barcode ASP.NET Control DLL, PDF-417 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=44& ImageFormat=Png;
Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by PDF-417 generator could be managed with DPI.
Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=44& 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=44& Rotation=Degree90;
PDF-417 ASP.NET Control - Solution Projects Support
PDF-417 Barcode ASP.NET Control also 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)