Menu

Barcode ISAPI Extensions





ISAPI
ISAPI Extension is a technology that allows you to extend the functionality of an IIS server. Our ISAPI Extension is a single DLL file that can be executed directly by the IIS server.

The use of ISAPI Extensions for generating barcodes on the Web is the simplest and most effective solution for an IIS server:
  • It is enough to install just one .dll file on the server.
  • ISAPI Extension is executed directly by the IIS server. It is loaded just once and resides in the server memory. This is how the highest rate and effectiveness of the server are achieved.
  • No additional programming is needed. As soon as you copy the .dll file to the server, you can immediately use it in your Web applications for generating barcodes.

All our barcode ISAPI Extensions are tested with the Microsoft Web Application stress tool. Testing showed their high reliability and stability.

Installing the barcode ISAPI Extension on a Windows (IIS) server
We will go through the installation of the bar code ISAPI generator onto the server IIS 6.0. Some variations are possible if you install it on other servers. Download and install the necessary ISAPI Extension from our site:

Create a Virtual Directory and copy the file (barisapi.dll for Linear Barcodes, dmisapi.dll for DataMatrix and pdf417isapi.dll for PDF417) of the ISAPI extension to it. Set "Execute permissions" in the properties of the Virtual Directory as shown in the picture below.

Setup IIS 6.0 barcode execute permissions

And the last. You must add ISAPI Extensions to the list of allowed "Web Service Extensions". If you do not do it, you will get error 404:
HTTP Error 404 - File or directory not found.

To do it, start Internet Information Service (IIS) Manager, click "Web Service Extensions" and add the ISAPI extensions as shown in the picture.
Add bar code ISAPI extensions into the IIS 6.0 Web Service Extensions

Also, you can allow "All Unknown ISAPI Extensions", but we do not recommend that you do it for security reasons.
You can also find information about installing ISAPI onto the Microsoft IIS server on the Microsoft site.
Using the ISAPI Extensions
Install the ISAPI Extension, see above.
You can use the ISAPI right after that. Enter the address of your barcode ISAPI Extension into the browser address bar and you should see the barcode image.
You can see a sample DataMatrix barcode below.

Using DataMatrix ISAPI Extension

You can specify parameters to customize the barcode. For example, use the data parameter to encode the string "HelloWorld" in DataMatrix.

http://localhost/test/dmisapi.dll?data=HelloWorld

See the corresponding description for more detailed information about the parameters of the ISAPI Extension (click ISAPI in the menu to the left and then, for example, click DataMatrix).

You can use the barcode ISAPI generator in an IMG tag of your HTML page.
For example:
<html>
<head>
<title>DataMatrix ISAPI generator</title>
<body>
<h2>Using DataMatrix ISAPI generator</h2>
<img src="http://localhost/test/dmisapi.dll?data=1234567&w=120&h=120" alt="">
</body>
</html>
You will see a page like the one shown below.

Using Barcode ISAPI Extension in the HTML IMG tag