Cobol; Compiling And Running The Sample Cobol/400 Program; Compiling And Running The Sample Ile Cobol Program - NeoMedia Encoder PDF417 Installation Manual

Hewlett packard encoder installation guide
Table of Contents

Advertisement

PDF417
CRTPRTF FILE(PDFVxxxx/PDF417)
SRCFILE(PDFVxxxx/QDDSSRC)
SRCMBR(PDF240)
DEVTYPE(*AFPDS)
REPLACE(*YES)
To create the printer file for a 300 DPI printer, use the following:
CRTPRTF FILE(PDFVxxxx/PDF417)
SRCFILE(PDFVxxxx/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 PDFVxxxx/PDFENCOD program. The source for
the sample program is in PDFVxxxx/QLBLSRC(CBLPDF). It can be compiled using the
following command:
CRTCBLPGM PGM(PDFVxxxx/CBLPDF)
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 PDFVxxxx/PDFVxxSRV service program.
The source for the sample program is in PDFVxxxx/QCBLLESRC(CBLPDF). You must first
compile the COBOL module:
CRTCBLMOD MODULE(PDFVxxxx/CBLPDF)
Now create the ILE program (i.e., link it with the PDF417 service program):
CRTPGM PGM(PDFVxxxx/ILECBLPDF)
MODULE(PDFVxxxx/CBLPDF)
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:
CALL ILECBLPDF
NeoMedia Technologies, Inc.
SRCFILE(PDFVxxxx/QLBLSRC)
SRCMBR(CBLPDF)
REPLACE(*YES)
SRCFILE(PDFVxxxx/QCBLLESRC)
SRCMBR(CBLPDF)
REPLACE(*YES)
Installation Guide
Page 25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Encoder PDF417 and is the answer not in the manual?

Table of Contents