HP Encoder PDF417 manual Micro Focus Cobol

Page 16

PDF417

Installation Guide

Micro Focus COBOL

To compile and link the sample program for Micro Focus COBOL:

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 Micro Focus COBOL and PDF417 encoder library

(prunmf):

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

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

Execute the make file:

$ make -f prunmf.umf

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

$ cp …\pdf417\mf\compmf.sh .

3. Compile the following test program:

$ compmf.sh samplcob

This command will create two files: an intermediate code file samplcob.int and an animation information file samplcob.idy

4. Run the new runtime with the intermediate file as a parameter:

$ …/mf/prunmf 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 12

Image 16
Contents Installation Guide Liability Table of Contents Compiling and Running the sample ILE Cobol Program Overview Windows PC-based Installation Preparing for Installation Installing the EncoderFile 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 MVS Installation IBM CobolVBM Samplec Linking with the Encoder Cobol Installation Guide Language Sysout DD SYSOUT= Sysudump Execution Errors AS/400 Installation Restoring the encoder from tapeCompiling 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 Font Selection IBM S/370, S/390, AS/400 Printer Family