Barcodes using ASP


Setting up ActiveBarcode for IIS and ASP

Using ActiveBarcode to display barcodes on Internet sites with IIS and ASP is very simple. A standard installation of IIS and ASP is usually sufficient. If you have not installed ASP yet, do this first. You can install ASP by using a server role. This role is located at Web Server (IIS) -> Web Server -> Application Development -> ASP [..]


Additional to IIS and ASP you need the barcode object. If you have installed ActiveBarcode, the barcode object is already installed. The Internet-license must be installed, too. You received instructions on this with your purchase. The trial version does not require a license.

To use the ASP demo, copy the contents of the folder c:\program files (x86)\activebarcode$platform\ to a subfolder of the inetpub folder. E.g.: c:\inetpub\wwwroot\asp-activebarcode-demo\

Now open open the URL http://localhost/asp-activebarcode-demo/.
An example page will open that shows and explains how to create barcodes dynamically.

ASP Demo

How to use the barcode object with ASP

The easiest way to create barcodes dynamically is to use 'barcodeimage.asp'. It's a wrapper for the barcode object so that you can create barcodes and use them as images in any html page using the HTML img tag.

'barcodeimage.asp' is found in c:\program files (x86)\activebarcode\asp and must be copied to a folder that is covered by IIS. (E.g. \inetpub\wwwroot\asp-activebarcode-demo\)

In your html pages you use 'barcodeimage.asp' with the img tag:
<img src="barcodeimage.asp">
A barcode with default values will be shown:


To define the barcode content and other attributes, you add parameters.

Example with parameters to create the specifc barcode shown below:
  <img src="barcodeimage.asp?code=CODE39EXTENDED&


More information: Parameter list for 'barcodeimage.asp'.