HP Encoder PDF417 manual $ make -f pruncbl.umf

Page 15

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 (pruncbl):

Change directory to the acu directory in the PDF417 distribution, .../pdf417/acu

Make sure that the variables are defined correctly in pruncbl.umf

Execute the make file:

$ make -f pruncbl.umf

2.Change directory to the sample directory (.../sample) and copy the following files to this directory:

$ cp …\pdf417\acu\compacu.sh .

3. Compile the following test program:

$ compacu.sh samplcob

This command will create a debuggable ACUCOBOL object file samplcob.

4. Run the new runtime with the ACUCOBOL object as a parameter:

$ …/acu/pruncbl samplcob

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

…/sample/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 11

Image 15
Contents Installation Guide Liability Table of Contents Compiling and Running the sample ILE Cobol Program Overview Preparing for Installation Installing the Encoder Windows PC-based InstallationFile Name Description Linking with the Encoder \test nmake /f samplec.mak Acucobol Unix Installation File Name Unix C compiler cc is being used Installation Guide $ make -f pruncbl.umf Micro Focus Cobol IBM Cobol MVS InstallationVBM Samplec Linking with the Encoder Cobol Installation Guide Language Sysout DD SYSOUT= Sysudump Execution Errors Restoring the encoder from tape AS/400 InstallationCompiling the font resources Binding with the Encoder Compiling and Running the sample COBOL/400 Program Compiling and Running the sample RPG/400 Program Compiling and Running the sample ILE C Program Output of the sample programs IBM S/370, S/390, AS/400 Printer Family Font Selection