IIS - Barcodes using ASPTo use this functionality you require a web license
Preparing to use ActiveBarcode with IIS and ASPThe use of 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 yes, please do this first. You can install the 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 ActiveBarcode control: The control activebarcode.ocx* must be installed and registered (regsvr32 activebarcode.ocx*) on the system. If you installed ActiveBarcode with our SetUp, the control is correctly installed. The license file (web license) must be installed by you manually. You received instructions for this with the purchase of the full product. This is not valid for the Trail version, which does not required a license file
To use our ASP demo, please copy the contents of ActiveBarcodes ASP folder ('c:\program files (x86)\activebarcode\asp\') to a sub folder of the 'inetpub' folder of the ASP. E.g. into c:\inetpub\wwwroot\asp-activebarcode-demo\
Now open your local browser (e.g. Internet Explorer) and open the URL http://localhost/asp-activebarcode-demo/. An example page will open. This shows the usage of the 'barcodeimage.asp' wrapper. This page should be shown with dynamically created barcodes, like this:
How to use ActiveBarcode nowFor the simplified use of ActiveBarcode you use ours 'barcodeimage.asp' wrapper. This ASP file must be installed into a folder (e.g. /inetpub/wwwroot/asp-activebarcode-demo/) that is covered by the IIS. You will find the wrapper file inside the ASP folder of ActiveBarcode ("c:\program files (x86)\activebarcode\asp\")
In your own pages you use 'barcodeimage.asp' wrapper inside the IMG tags.
Simply try this tag: <img src="barcodeimage.asp">
A barcode with default values will be shown:
To specify the barcode you add some parameter, that describe the barcode you need. E.g. the text to be encoded and the barcode type.
One more example with a huge number of parameters:
<img src="barcodeimage.asp?code=CODE39EXTENDED& text=Hello%20World!&showtext=1&rotate=90& backcolor=002288&forecolor=12345&width=250& height=430&borderwidth=50&borderheight=25">
More information: Parameter list of 'barcodeimage.asp' Wrappers
* = The control is named activebarcode-trial.ocx if you are evaluating the trial version.
This manual was created by Frank Horn