The output data user-exit program
The InfoPrint Manager output data user-exit program is used to monitor the
outgoing print data stream from InfoPrint Manager. This exit is called at the end of
the job before the error messages and the trailer page.
The source code (in the C programming language) for the sample output data
user-exit program listed on page 57 is in the
/usr/lpp/psf/exits/ainuxout.c
file. This
sample program consists of a return and performs no function.
The data structures for the output data user-exit program are included with the
source code in the
/usr/lpp/psf/exits/ainuexit.h
file. The code for these structures is
shown in “User-exit program structures” on page 62.
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 Manager and the user-exit
program.
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.
After you create your output data user-exit program, you must use the AIX
make
command to compile the code (see “Compiling and installing the user-exit
program” on page 59).
Note:
The output information fields used by some of the sample programs (see
“Common input and output fields” on page 62 for a complete list) are available
through the alternate sample user-exits. InfoPrint Manager does not provide an
alternate Output Data user-exit.
User-exit programs for the line-data transform
InfoPrint Manager 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 Manager provides these sample programs:
/usr/lpp/psf/acif/apkinp.c
Input-record user-exit
/usr/lpp/psf/acif/apkout.c
Output-record user-exit
/usr/lpp/psf/acif/apkres.c
Resource exit
Chapter 6. User-exit programs (PSF, Generalized Fax, and Email DSS only)
73
Summary of Contents for InfoPrint Manager for AIX
Page 1: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 2: ......
Page 3: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 6: ...iv InfoPrint Manager for AIX Procedures ...
Page 8: ...vi InfoPrint Manager for AIX Procedures ...
Page 16: ...2 InfoPrint Manager for AIX Procedures ...
Page 20: ...6 InfoPrint Manager for AIX Procedures ...
Page 58: ...44 InfoPrint Manager for AIX Procedures ...
Page 62: ...48 InfoPrint Manager for AIX Procedures ...
Page 70: ...56 InfoPrint Manager for AIX Procedures ...
Page 96: ...82 InfoPrint Manager for AIX Procedures ...
Page 110: ...96 InfoPrint Manager for AIX Procedures ...
Page 156: ...142 InfoPrint Manager for AIX Procedures ...
Page 170: ...156 InfoPrint Manager for AIX Procedures ...
Page 234: ...220 InfoPrint Manager for AIX Procedures ...
Page 236: ...222 InfoPrint Manager for AIX Procedures ...
Page 256: ...242 InfoPrint Manager for AIX Procedures ...
Page 326: ...312 InfoPrint Manager for AIX Procedures ...
Page 330: ...316 InfoPrint Manager for AIX Procedures ...
Page 331: ...Part 3 Operator and user procedures Copyright InfoPrint Solutions Company 1998 2010 317 ...
Page 332: ...318 InfoPrint Manager for AIX Procedures ...
Page 348: ...334 InfoPrint Manager for AIX Procedures ...
Page 365: ...Part 4 Appendixes Copyright InfoPrint Solutions Company 1998 2010 351 ...
Page 366: ...352 InfoPrint Manager for AIX Procedures ...
Page 370: ...356 InfoPrint Manager for AIX Procedures ...
Page 378: ...364 InfoPrint Manager for AIX Procedures ...
Page 382: ...368 InfoPrint Manager for AIX Procedures ...
Page 406: ...392 InfoPrint Manager for AIX Procedures ...
Page 416: ...402 InfoPrint Manager for AIX Procedures ...
Page 417: ......
Page 418: ...Program Number 5648 F35 Printed in USA G550 1066 04 ...