PDF417

Installation Guide

ACUCOBOL

To compile and link the sample program for ACUCOBOL:

NOTE: Compiling and testing the COBOL sample is not a required step for installation of the PDF417 Encoder. It is recommended if you will be using the COBOL API.

1.Create a runtime which includes ACUCOBOL and PDF417 encoder library (wpruncbl.exe):

Change directory to the acu directory in the PDF417 distribution,

...\pdf417_32bit\acu

Make sure that the variables are defined correctly in wpruncbl.mak

Execute the make file:

...\pdf417_32bit\acu> nmake /f wpruncbl.mak

2.Create a sample directory to build the sample programs in. Note: for the 16-bit installation, you can build the sample programs in the installation directory.

3.Change directory to the test directory just created (...\test) and copy the following files to this directory:

...\test> copy ...\pdf417_32bit\sample\samplcob.cob .

...\test> copy ...\pdf417_32bit\sample\nmpdf417.cob .

...\test> copy ...\pdf417_32bit\acu\compacu.bat .

4. Compile the test program:

...\test> compacu samplcob

This command will create a debuggable object file samplcob.

5.Copy the dynamic link library (.dll) to the same directory as the runtime executable or into one of the appropriate places that the system will find it at runtime:

...\test> copy ..\pdf417_32bit\lib\pdfenc_d.dll

..\pdf417_32bit\acu\pdfenc_d.dll

NOTE: The DLL can be copied to the C:\WINDOWS, C:\WINDOWS\SYSTEM or the path where the ACUCOBOL runtime executable will reside.

6. Run the new runtime with the COBOL object as a parameter:

...\test> ...\acu\wpruncbl samplcob

7.For successful execution, there will be no screen I/O but the following file will be created in the current directory:

...\test\pdffont

The file that is created from this test program is a font character file which contains an array of font characters that, when printed with the appropriate PDF417 symbol font, will render the PDF417 symbol for the following data:

This is a test of the NeoMedia Technologies PDF417 Encoder. The error correction will encode at level 3 with ECC padding.

NeoMedia Technologies, Inc.

Page 6

Page 10
Image 10
HP Encoder PDF417 manual Acucobol