![NeoMedia Encoder PDF417 Installation Manual Download Page 29](http://html1.mh-extra.com/html/neomedia/encoder-pdf417/encoder-pdf417_installation-manual_719132029.webp)
PDF417
Installation
Guide
NeoMedia Technologies, Inc.
Page 25
CRTPRTF FILE(PDF
Vxxxx
/PDF417)
SRCFILE(PDF
Vxxxx
/QDDSSRC)
SRCMBR(PDF240)
DEVTYPE(*AFPDS)
REPLACE(*YES)
To create the printer file for a 300 DPI printer, use the following:
CRTPRTF FILE(PDF
Vxxxx
/PDF417)
SRCFILE(PDF
Vxxxx
/QDDSSRC)
SRCMBR(PDF300)
DEVTYPE(*AFPDS)
REPLACE(*YES)
COBOL
To compile and link the sample program for 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.
Compiling and Running the sample COBOL/400 Program
The sample COBOL/400 program calls the
Vxxxx
/PDFENCOD
program. The source for
the sample program is in
Vxxxx
/QLBLSRC(CBLPDF)
. It can be compiled using the
following command:
CRTCBLPGM PGM(PDF
Vxxxx
/CBLPDF)
SRCFILE(PDF
Vxxxx
/QLBLSRC)
SRCMBR(CBLPDF)
REPLACE(*YES)
The program is now ready to run. It will generate a spool file named PDF417 to the default
output queue:
CALL CBLPDF
Compiling and Running the sample ILE COBOL Program
The sample ILE COBOL program links with the
Vxxxx
Vxx
SRV service program.
The source for the sample program is in
Vxxxx
/QCBLLESRC(CBLPDF)
. You must first
compile the COBOL module:
CRTCBLMOD MODULE(PDF
Vxxxx
/CBLPDF)
SRCFILE(PDF
Vxxxx
/QCBLLESRC)
SRCMBR(CBLPDF)
REPLACE(*YES)
Now create the ILE program (i.e., link it with the PDF417 service program):
CRTPGM PGM(PDF
Vxxxx
/ILECBLPDF)
MODULE(PDF
Vxxxx
/CBLPDF)
BNDSRVPGM(*LIBL/PDF
Vxx
SRV)
REPLACE(*YES)
The program is now ready to run. It will generate a spool file named PDF417 to the default
output queue:
CALL ILECBLPDF