Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 100
Structure of a user-exit program, User-exit programs for the line data transform, OUTDATA_EXITDATA
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
The data structures for the output data user-exit program are included with the source code in the install_path\exits\psf\ ainuexit.h file. The code for these structures is shown in "Structure of a user-exit program." The declaration of this exit is: void OUTDATA (OUTDATA_EXITDATA \exitdata) The OUTDATA_EXITDATA input/output parameter contains all the input and output data needed to communicate between InfoPrint and the user-exit program. To build the executable program, you must use the Microsoft Visual Studio 2005 Program pull-down menu. These fields are also found in the output data user-exit program: Copy Indicates which copy is associated with this call to the exit. Initially set to 1, it increments by one each time the exit is called. DataSize Indicates the number of bytes in the buffer. DataPointer Points to a buffer containing the outgoing print data stream. Structure of a user-exit program All input and output variables used in InfoPrint user exits are defined through either of these two files: v install_path\exits\psf\ainuexit.h or v install_path\exits\psf\ainurpt.h The ainuexit.h file contains definitions for the header, trailer, separator, accounting, audit, and post-print accounting exits, while the ainurpt.h file formats data for these executable reporting utilities: v Accounting Log - (ainurpt1; ainurpt2; ainurpt3) v Audit Log - (ainurpt4; ainurpt5; ainurpt6) v Post-print Accounting Log - (ainurpt7; ainurpt8; ainurpt9) These user-exit program structure files are written in the C programming language. The declarations and statements in these files show the structure of the InfoPrint PSF user-exit programs, which are imbedded as part of the user-exit program. User-exit programs for the line data transform InfoPrint provides several sample user-exit programs for the line-data transform. Use of the user exits is optional. You specify the names of the exit programs with the inpexit, indxexit, outexit, and resexit keywords. InfoPrint provides these sample programs: install_path\exits\acif\apkinp.c Input-record user exit install_path\exits\acif\apkout.c Output-record user exit install_path\exits\acif\apkres.c Resource exit 82 InfoPrint Manager for Windows: Procedures