NeoMedia Encoder PDF417 Installation Manual Download Page 29

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 

PDF

Vxxxx

/PDFENCOD

 program.  The source for 

the sample program is in 

PDF

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 

PDF

Vxxxx

/PDF

Vxx

SRV service program.  

The source for the sample program is in 

PDF

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

Summary of Contents for Encoder PDF417

Page 1: ...PDF417 Encoder InstallationGuide Version 2 2 Build 2 1 0 4 or later...

Page 2: ...scribed in this document is furnished under a license and may be used or copied only in accordance with the terms of such license Copyright 1998 1999 2000 2002 NeoMedia Technologies Inc All rights res...

Page 3: ...stallation 7 Installing the Encoder 7 Linking with the Encoder 9 C C 9 ACUCOBOL 11 Micro Focus COBOL 12 MVS Installation 13 Requirements 13 Preparing for Installation 13 Installing the Encoder 14 Link...

Page 4: ...the sample ILE COBOL Program 25 RPG 26 Compiling and Running the sample RPG 400 Program 26 Compiling and Running the sample ILE RPG Program 26 C Language 27 Compiling and Running the sample ILE C Prog...

Page 5: ...L and C While the encoder library does not use any of the standard C library functions some platforms e g MVS and OS 400 still require that programs calling C modules be linked with the C run time lib...

Page 6: ...ion The PDF417 encoder is distributed on diskettes in InstallShield format The distribution consists of a root directory pdf417_32bit or pdf417_16bit with the following six sub directories The first d...

Page 7: ...pdfenc_d lib Encoder 32 bit link library used at link time OR nmpdfenc lib Encoder 16 bit link library used at link time pdfenc_s lib Encoder 32 bit static link library used at run time OR llpdfenc l...

Page 8: ...character set for OS2 AFP printers 300 DPI 3x9 pixel module size X0PD3309 OS2 Font code font for OS2 AFP printers 300 DPI 3x9 pixel module size C0PD3412 OS2 Font character set for OS2 AFP printers 300...

Page 9: ...make file utilizing NMAKE It is not a Microsoft Developer Studio build file It is a text file and can be edited using any word processor or edit utility 4 Execute the make file test nmake f samplec m...

Page 10: ..._32bit sample nmpdf417 cob test copy pdf417_32bit acu compacu bat 4 Compile the test program test compacu samplcob This command will create a debuggable object file samplcob 5 Copy the dynamic link li...

Page 11: ...e consists of a root directory pdf417 with the following five sub directories The first directory pdf417 lib contains the PDF417 encoder static library a and C header files which will need to be inclu...

Page 12: ...to compile samplcob cob direct c Source file for creating an ACUCOBOL runtime pruncbl umf Makefile for creating an ACUCOBOL runtime with PDF417 subroutines included acucobol include Makefile include f...

Page 13: ...in the pdf417 sample directory for compiling and linking the sample C program NOTE This makefile assumes that the standard UNIX C compiler cc is being used C C To compile and link the sample program f...

Page 14: ...aging should be able to understand the TIF format To test the symbol you can print the file from within the applications named above and then scan them For the character font file you will have to pri...

Page 15: ...le directory sample and copy the following files to this directory cp pdf417 acu compacu sh 3 Compile the following test program compacu sh samplcob This command will create a debuggable ACUCOBOL obje...

Page 16: ...ample 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 samplco...

Page 17: ...er routines will be available as distinct object modules in a Partitioned Data Set PDS object library Your object modules will need to be linked with this PDS object Although linking and running the e...

Page 18: ...riate version Insert the media into the tape drive Submit the restore media JCL that you have written See below for a JCL example The tape media contains the following STD files Library NEO PDFRSC Vxx...

Page 19: ...dpi 2x6 pixel module size C0PD2309 AFP character set bounded box 240 dpi 3x9 pixel module size C0PD3309 AFP character set bounded box 300 dpi 3x9 pixel module size C0PD3412 AFP character set bounded...

Page 20: ...SKVOL 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...

Page 21: ...NEOMEDIA PDF417 RSCLIB is a typical sample that one may adapt to link COBOL programs with the PDF417 load module and with the C run time library 2 Edit NEOMEDIA PDF417 RSCLIB ISAMLCB and SUBMIT it Co...

Page 22: ...generated as an output file via the TPDFFONT DD card defined in the JCL The file that is created from this test program is a font character file which contains a PDF417 symbol with the following encod...

Page 23: ...Run time library In most cases the C Run time library is the SCEELKED 2 Edit NEOMEDIA PDF417 RSCLIB ISAMLEC and SUBMIT it Confirm that the JCL is correct for your environment and make any changes as r...

Page 24: ...g JCL demonstrates how to link the PDF417 encoder with a C program and the C run time SCEELKED library If one observes the expansion of this EDCPL then the SCEELKED library will be noted jobcard here...

Page 25: ...time check the concatenation list The PDF417 Encoder depends on the C runtime being available at runtime The SOC1 and SOC4 error usually indicates a missing LOADLIB or runtime system library Users ha...

Page 26: ...hnologies Preparing for Installation The PDF417 is distributed on tape in SAVLIB format The installation library PDFVxxxx contains the object modules that comprise the PDF417 encoder and a number of s...

Page 27: ...of these libraries If you have not installed custom fonts on your system before you may have to create a library e g CRTLIB LIB QFNT01 Note that we do not recommend that the fonts be installed in the...

Page 28: ...he PDFVxxSRV service program since an OPM program cannot directly call an ILE service program The PDFENCOD program was linked using the following command CRTPGM PGM PDFVxxxx PDFENCOD MODULE PDFVxxxx P...

Page 29: ...am is in PDFVxxxx QLBLSRC CBLPDF It can be compiled using the following command CRTCBLPGM PGM PDFVxxxx CBLPDF SRCFILE PDFVxxxx QLBLSRC SRCMBR CBLPDF REPLACE YES The program is now ready to run It will...

Page 30: ...GSRC SRCMBR RPGPDF REPLACE YES The program is now ready to run It will generate a spool file named PDF417 to the default output queue CALL RPGPDF Compiling and Running the sample ILE RPG Program The s...

Page 31: ...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...

Page 32: ...BOACHHFIHDNGCNIJHLOIOMAD OOEDE DHBLLHAHJL M DCFHIHBHGAMOMAD OOEDGJB KJGCANOGJLLOADIOCCNHHMOMAD OOEDFHBOJ ICMKJG IOIMEBGHBEGHAOMAD OOEDGIFOJG NIKC LNLIHFHGGKBHFAOMAD OOEDEAOCCJFAALHAJMCI FENCBHOKAOMAD...

Page 33: ...in the program can cause unpredictable output and can even cause printer reboots The information has been broken into two tables one for UNIX and PC Platforms ASCII platforms and a second for IBM S 37...

Reviews: