Menu

DataMatrix ActiveX in Microsoft IIS (ASP)

How to use DataMatrix Barcode ActiveX on an IIS server



Install DataMatrix Barcode ActiveX on the server. Make sure that the file DataMatrixAx.dll has the READ+EXECUTE permissions for the user IUSR_XXXXX (or for the user who will use DataMatrix Barcode ActiveX).

Copy the file "..\Program Files\RKD\DataMatrix\IIS\datamatrix.asp" to the folder IIS has access to. For example, to "c:\inetpub\wwwroot\".

Now you can test the functioning of DataMatrix BarCode ActiveX. To do it, enter the following line into the IE address bar:
http://localhost/datamatrix.asp(this address may vary depending on your configuration of IIS and on the location of the file datamatrix.asp)
You should have a barcode with default parameters displayed on the screen.
To customize the barcode, you can specify the parameters in the following way for example:
http://localhost/datamatrix.asp?data=111222&width=200&height=100&backcolor=yellow&picture=gif

As a result, you will get approximately the following barcode.

ISS(Internet Information Server) and DataMatrix Barcode ActiveX

See more details about the parameters you can specify in the file datamatrix.asp.

If you need to put some other elements together with the barcode in HTML, you should use the IMG tag. To do it, create an HTML page and insert the IMG tag into it in the following way, for example:
<IMG src="http://localhost/datamatrix.asp?data=11498194763&width=100&height=100" width=100 height=100 alt="">
Besides, you can insert any other HTML tags into this page as well.

ISS and DataMatrix Barcode ActiveX

All the abovementioned files are included in the installation package.



If you use DataMatrix Barcode ActiveX like this, you do not have to install anything on the client PC. And such a barcode can be displayed in any Internet browser.





The features described on this page require a Server License.