HP (Hewlett-Packard) PDF417 Network Card User Manual


 
PDF417 Installation Guide
NeoMedia Technologies, Inc. Page 27
Following is a pictorial diagram of how the pieces fit together using RPG:
C Language
To compile and link the sample program for C:
NOTE: Compiling and testing the C sample is not a required step for installation of the
PDF417 Encoder. It is recommended if you will be using the C API.
Compiling and Running the sample ILE C Program
The sample ILE C program links with the PDFVxxxx/PDFVxxSRV service program. The
source for the sample program is in PDFVxxxx/QCSRC(CPDF). You must first compile the C
module:
CRTCMOD MODULE(PDFVxxxx/CPDF)
SRCFILE(PDFVxxxx/QCSRC)
SRCMBR(CPDF)
REPLACE(*YES)
Now create the ILE program (i.e., link it with the PDF417 service program):
CRTPGM PGM(PDFVxxxx/CPDF)
MODULE(PDFVxxxx/CPDF)
BNDSRVPGM(*LIBL/PDFVxxSRV)
REPLACE(*YES)
The program is now ready to run. It will generate a spool file named PDF417 to the default
output queue:
OPM
Program
ILE
Program
RPG III (RPG/400)
RPG IV (ILE)
PDFINIT PDFENCOD
CALL CALL
Compile
w/opt 14
PDFvv/PDFvvSRV
Service Program
(PDFvv, or whatever library
PDFvvSRV is installed in
MUST be in the *LIBL)
CALLB
(CRTPGM to bind)
Compile
w/opt 15