Online Barcoding: Server Side Overview

Creating barcodes on a web server using the TALtech Barcode ActiveX control is accomplished by first installing the ActiveX control (Plus version) on the web server and then writing either CGI/Perl or Active Server Page code that calls the ActiveX control to generate and save the barcodes to a disk file on the server. The code that calls the ActiveX control would first create and save the barcode images (using the GIF or PNG file format) and then return a dynamically generated HTML document to the client's browser that contains an Image tag referencing the barcode image.

Note: ActiveX controls can only be installed on a Windows server. ActiveX controls are not supported by UNIX or Linux.

If you choose to use CGI/Perl scripts then you will also need to use a small helper program (Windows Executable program) written in either Visual Basic or another language that supports ActiveX controls. CGI/Perl scripts do not support ActiveX controls directly however they do have the ability to exeute other programs on a server and pass arguments to them via the command line. The purpose of the helper program is to input parameters from the CGI/Perl script, generate the barcodes by calling the ActiveX control and finally to return control to the CGI/Perl script passing back information about the size of the barcode that was generated so that the image can be scaled in the browser to the correct size.

Using Active Server Pages instead of CGI/Perl scripts greatly simplifies the entire process because ASP pages can call the TALtech Barcode ActiveX control directly to produce the barcode image files on the server. Because of this, Active Server Pages require much less code than using CGI/Perl scripts and no helper program is needed. The only requirement for running Active Server Pages is that you have either Microsoft Internet Information Server or Microsoft Personal Web Server installed on the server.

Contact Us