Introduction Description
Download Registration
History Installation
Example 1 Example 2
FAQ E-Mail

Installation

WEBCODE

Installing CGI WEBCODE is very easy: just copy the modules listed below: *.EXE, *.DLL, *.INI, *.TTF and *.ASP to the Web server, in an executable directory (usually CGI-BIN or SCRIPTS).

Module Description
WEBCODE.EXE Executable CGI WEBCODE
TECBARG.DLL Auxiliary DLL for barcode generation
TTLIB.DLL Fonts handling DLL
WEBC001.INI Configuration file – Example #1
WEBC002.INI Configuration file – Example #2
EXAMPLE1.ASP Usage example #1, in ASP
EXAMPLE2.ASP Usage example #2, in ASP
WEBCODE.DOC Documentation (MS Word file)
????????.TTF Fonts for caption generation (various)

After the modules have been copied, you must check thoroughly the dummy names used (such as: www.yourdomain.com, hostname.com, etc) replacing them with the actual names. This must be done for the modules *.ASP and *.INI.

Also note the executable directory name, as some modules refer to the CGI-BIN directory. If your executable directory has another name, replace all references found.

Once the modules are properly copied into the Web server and thoroughly revised, test the examples 1 and 2 using a browser:

http://www.yourdomain.com/cgi-bin/example1.asp
http://www.yourdomain.com/cgi-bin/example2.asp

The pages shown are self-explaining. In both examples you must enter the requested data and click on the "generate barcode" button.

If necessary, the user may have more font options for generating captions in addition to those shipped with CGI WEBCODE. In order to do so, just copy the desired TTF files from the folder /Windows/fonts into the same directory where CGI WEBCODE is installed. Conversely, you may delete undesired fonts, but at least the ARIAL.TTF (required) font must remain in the same directory as CGI WEBCODE. Still about fonts, remember that the OCR-B-10 BT (ocrb10n.ttf) font is the most recommended caption font, chiefly for UPC and EAN patterns.

ERROR MESSAGES:

If any kind of inconsistencies arise from the values entered, CGI WEBCODE will display a self-explaining error message instead of the barcode.

All consistency tests are applied to every variable declared in the config file, and also to every variable in the command line (at CGI WEBCODE call).


All information in this page and some additional details are in the WEBCODE.DOC module, part of the download (demo and test copy).