ASPX Barcode Generator Script 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
Crystal Reports and
SSRS Report Builder.
- 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 ASPX barcode
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
- 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.
- 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:
Unless specific requirements dictate otherwise, consider using default values
for all properties.
||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
Options are enabled including encoding of GS1-128 AIs.
||The barcode height in pixels.
||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
||Automatically adds the
check digit that is encoded in the barcode to the human readable text
that is displayed when equal to "T".
||The data that is to be
encoded in the barcode.
|Narrow to Wide Ratio
||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.
||The orientation of the barcode. Valid values are 0, 90, 180 and 270.
||If set to F, the human-readable text interpretation will not be displayed with the barcode.
|XDimension in pixels
||The number of pixels to
define the overall barcode width. Default = 1 which is 1/96 of an
inch and about 12 MILS.
||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.
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 USPS IMb, DataBar, QR-Code, PDF417 or Data Matrix, consider one of
IDAutomation's other Streaming Barcode Generators that contain more
functionality. If it is preferred to have the generator in pure ASPX form,
IDAutomation can usually create an additional ASPX product within 3-10 working
days with the purchase of an Unlimited Developer License.
IDAutomation support before purchase for verification of specific
Technical Support Issues
Free product support may be obtained by reviewing the knowledgebase
articles documented below and by searching the resolved
public forum threads
email and forum support is also provided via
methods within 30 days of purchase.
Support after this complimentary period may be received with an active
Priority Support &
Back to Top