Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 74
Compile and install your user-exit program, Notes, usr/lpp/psf/bin, Makefile, make install
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
becomes part of the InfoPrint Manager executable code, a defective user-exit program could cause problems with InfoPrint Manager. Compile and install your user-exit program To compile and install your user-exit program, follow these steps: Notes: You must have root authority to use the make command in this directory. 1. If you already have an existing executable user-exit program in the /usr/lpp/psf/bin directory for the user-exit program you are adding, do these steps first; otherwise, go to step 2. a. Disable all the logical destinations associated with the queues that are to receive jobs that will use the new user-exit program. b. Delete the executable user-exit program from the /usr/lpp/psf/bin directory. 2. To make the directory in which the user-programs are stored the current directory, enter: cd /usr/lpp/psf/exits 3. On the AIX command line, enter: make The make command reads the Makefile file supplied with InfoPrint Manager, compiles and generates the user-exit program. 4. On the AIX command line, enter: make install The make install command copies the executable user-exit program from the /usr/lpp/psf/exits directory into the /usr/lpp/psf/bin directory so that the code executes with InfoPrint Manager. 5. Enable all of the logical destinations that you disabled. Notes: 1. If you do not want to copy the executable user-exit program into the /usr/lpp/psf/bin directory, you can copy them into another directory. However, if you do this, you need to add the path to the PATH statement in the /etc/environment file so that InfoPrint Manager can locate the module. 2. You can only specify one user-exit program for each function name provided by InfoPrint Manager per queue. 3. Make sure the function name of the user-exit is one of the following where the name is in uppercase letters, because that is the entry point in the module: v ACCOUNTING v AUDIT v JOBCOMPLETION v HEADER v SEPARATOR v TRAILER v INDATA v OUTDATA 4. If you do not want to use the same name for the user-exit program, you must edit the Makefile file and change the name of the user-exit program supplied with InfoPrint Manager to the new name. For example, to call your new header user-exit program header, you must edit the Makefile file and change the name of the existing header user-exit program, ainuxhdr to header. In addition, 60 InfoPrint Manager for AIX: Procedures