HP Encoder PDF417 manual Linking with the Encoder

Page 20

PDF417

Installation Guide

//SYSPRINT

DD SYSOUT=*

//SYSUT3

DD SPACE=(CYL,(5,5)),UNIT=SYSDA

//SYSUT4

DD SPACE=(CYL,(5,5)),UNIT=SYSDA

//INDD1

DD DSN=NEO.PDFRSC.&V,UNIT=&TAPEUNIT,DISP=(OLD,KEEP),

//VOL=(,RETAIN,SER=NEO417),LABEL=(1,SL)

//INDD2

DD DSN=NEO.PDFOBJ.&V,UNIT=&TAPEUNIT,DISP=(OLD,KEEP),

//VOL=(,RETAIN,SER=NEO417),LABEL=(2,SL)

//INDD3

DD DSN=NEO.PDFFNT.&V,UNIT=&TAPEUNIT,DISP=(OLD,KEEP),

//VOL=SER=NEO417,LABEL=(3,SL) //OUTDD1 DD DSN=NEOMEDIA.PDF417.RSCLIB,

//DISP=(NEW,CATLG,DELETE),

//VOL=SER=&DISKVOL,SPACE=(CYL,(1,1,15)),

//DCB=(RECFM=FB,LRECL=80,BLKSIZE=23440,DSORG=PO) //OUTDD2 DD DSN=NEOMEDIA.PDF417.OBJLIB,

//DISP=(NEW,CATLG,DELETE),

//VOL=SER=&DISKVOL,SPACE=(CYL,(1,1,15)),

//DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200,DSORG=PO) //OUTDD3 DD DSN=NEOMEDIA.PDF417.FNTLIB,

//DISP=(NEW,CATLG,DELETE),

//VOL=SER=&DISKVOL,SPACE=(CYL,(1,1,15)),

//DCB=(RECFM=VBM,LRECL=12284,BLKSIZE=27998,DSORG=PO)

//SYSIN

DD DUMMY

//PEND

//INSTALL EXEC INSTALL,V=Vxxxx,TAPEUNIT=561,DISKVOL=SCPMV5 //COPYLIB.SYSIN DD *

COPY INDD=INDD1,OUTDD=OUTDD1

COPY INDD=INDD2,OUTDD=OUTDD2

COPY INDD=INDD3,OUTDD=OUTDD3

//

The installation of the encoder is now complete. The NEOMEDIA.PDF417.OBJLIB contains the PDF417EN members standing for the ENCODER objects that the sample programs will utilize. These object modules should be made available for the developers so that their programs may be linked with them in order to perform calls to the PDF417 encoder API.

Refer to the section titled Font Selection later in this document for information on determining the correct font for your environment.

Linking with the Encoder

The precise syntax for compile, pre-link, and linking with the encoder varies from compiler to compiler. Refer to your system’s documentation for detailed instructions for linking with object PDS.

NeoMedia Technologies, Inc.

Page 16

Image 20
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