Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. This site chose the Norton Secured Seal to promote trust online with consumers., Inc., Computers Hardware, Software & Services, Tampa, FL View your cart in the IDAutomation Store

ASPX Barcode Generator Script Tutorial

Order the ASPX Barcode Generator Script Download the ASPX Barcode Generator Script View the release log for the ASPX Native Generator Forum Support for ASPX Barcode Generator

Installation Tutorial

The ASPX Barcode Generator is a server-side script that adds barcode generation capability to any ASPX compatible website or hosting provider. After the script file is copied to the host, barcode images may be generated simply by calling the ASPX file. This script also enables barcodes to be easily added to reporting applications including FileMaker, Crystal Reports and Reporting Services / SSRS Report Builder.

  1. Unzip the downloaded product file and copy the needed files to an ASPX-enabled webserver. Each file contains the name of the supported barcode symbology. When unsure which barcode file to use, consider idautomation-code128.aspx that allows Code 128 and GS1-128 ASPX barcode generation.
  2. Open the file in a browser window and verify that a default barcode appears. If it does not, verify that the files are installed in the proper folder on the server and confirm that ASPX script processing is active in the folder where the file resides.
  3. Integrate the resulting URL into your web application as a dynamic IMG tag and add the D= parameter for the data that is being encoded.
  4. Refer to the barcode script parameters to modify the barcode to include additional parameters. For example, the following parameters encode the text "123456", enable the optional check digit in Code 39 and set the bar height to 30 pixels:

The purchased version of this product does not contain a watermark. If it is desired to have a watermark in the purchased version, the demo portion of code may be edited to enable this feature with a text message. For example:
Const Demo as Boolean = True
Const DemoText as String = "My Message"


Unless specific requirements dictate otherwise, consider using default values for all properties.

Purpose Parameter Default Description
Apply Tilde PT T When True in Code 128 with the Auto character set, the format ~??? may be used to specify the ASCII code of the character to be encoded and several other ApplyTilde Options are enabled including encoding of GS1-128 AIs.

*Valid in idautomation-code128.aspx only
Bar Height BH 40 The barcode height in pixels. The default value of 40 generates a symbol that is about 0.4" tall.
Check Character CC T* Automatically adds the check digit to the barcode when equal to "T".

*The default in Code-39 is F. To create a LOGMARS barcode, this must be set to True.

Check Character in Text CT T Automatically adds the check digit that is encoded in the barcode to the human readable text that is displayed when equal to "T".
Data Encoded D na The data that is to be encoded in the barcode.
Narrow to Wide Ratio N 2 The narrow-to-wide ratio of symbologies that only contain narrow and wide bars such as Code 39, Interleaved 2 of 5 and MSI. Valid values are 2 and 3.
Orientation O 0 The orientation of the barcode. Valid values are 0, 90, 180 and 270.
ShowText ST T If set to F, the human-readable text interpretation will not be displayed with the barcode.
XDimension in pixels X 1 The number of pixels to define the overall barcode width. Default = 1 which is 1/96 of an inch and about 12 MILS. Valid values are 1-8.
Font Size FS 12 The font size used for human readable text.

*Only values of 10 and 12 are applicable. Any other values must be implemented manually by displaying a text field below the barcode.

Quiet Zone Q 1 The margin around the symbol.
Data Matrix Specific Parameter Default Property Description
Process Tilde PT T When set to "F", the tilde "~" functionality will not be processed. As explained in the Data Matrix FAQ, the tilde is used for GS1-DataMatrix and encoding ASCII codes.
Encoding Mode MODE 0 The Encoding Mode for data being encoded. Valid parameters are 0=ASCII, 1=C40, 2=TEXT and 3=BASE256. To encode GS1-DataMatrix, ensure MODE is set to "0".
Preferred Format PFMT 0 Sets the preferred format represented by a number; valid values are from 1 (10X10) to 24 (144X144) and from 25 (8X18) to 30 (16X48); the default value of '0' is used for automatic formatting. If the component needs more space to create the symbol, this property will be ignored.
PDF417 Specific Parameter Default Property Description
Apply Tilde PT T When true, the format ~??? may be used to specify the ASCII code of the character to be encoded.
Columns COL 0 The number of data columns in the symbol. 0 = automatic.
Error Correction Level ECL 0 The amount of error correction in the symbol. The default setting of 0 performs automatic selection.
Mode MODE B The mode of compaction used to encode data in the symbol. Valid values are "B" for Binary or "T" for TEXT.
Truncation TRN F A truncated PDF417 symbol is more area efficient.
X to Y Ratio XYR 3 The X multiple height of individual cells.
QR-Code Specific Parameter Default Description
Error Correction Level ECL M The level of error correction. Valid values are L, M, Q & H.
Encoding Mode MODE B The Encoding Mode. Valid values are B (binary), A (alphanumeric) and N (numeric).
Process Mask PM T When set to F the mask is not optimized, which will improve processing time when generating many barcodes at the same time.
Version V 1 The version of the symbol. Setting this value to -3 can generate a Micro QR Code symbol.

Only commonly-used parameters are included in the ASPX Barcode Generator Script files to ensure quick and efficient barcode generation. If additional properties or symbologies are needed, such as DataBar, Aztec or Maxicode, consider one of IDAutomation's other Streaming Barcode Generators that contain more functionality.

Technical Support Issues

Forum Support for ASPX Barcode Generator
View the release log for the ASPX Native Generator

Free product support may be obtained by reviewing the knowledgebase articles documented below and by searching the resolved public forum threads or the stream-barcode tag.

Priority phone, email and forum support is also provided via several contact methods within 30 days of purchase. Support after this complimentary period may be received with an active Priority Support & Upgrade Subscription.

Back to Top

 ©Copyright 2016, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.