Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 102
Input record exit, asciinpe, apka2e, INPCCSID, OUTCCSID, line2afp, inpexit
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 102 highlights
The asciinpe input-record exit program combines both of the user input-record exits described above. To execute, specify inpexit=install_path\bin\asciinpe.dll as the exit program in the keyword file and follow the directions specified for both apka2e and asciinp. The asciinpe.c input-record exit program translates data that is encoded in one code character set (CCSID) to another. You should use this exit when your job uses fonts such as GT12, which has code points that are different from your data file. The default translation is from ASCII (code set 00850) to EBCDIC (code set 00037) if the INPCCSID and OUTCCSID parameters are not specified on the line2afp command. INPCCSID specifies the input code page, and OUTCCSID specifies the output code page. While the asciinp and asciinpe input-record exits do not recognize other ASCII printer commands, you can modify these exits to account for these: v backspacing (X'08') v horizontal tabs (X'09') v vertical tabs (X'0B') In addition to the information above, see the prolog of the asciinp.c source file that is provided with InfoPrint Manager in the install_path\exits\acif directory for more information about using and modifying these programs. The C language header file for all ACIF exit programs is provided in install_path\exits\acif\apkexits.h along with the build rules for the ACIF user exits in install_path\exits\acif\Makefile. To build the executable program, you must use the Microsoft Visual Studio 2005 Program, pull-down menu. Input record exit The line-data transform provides an exit that enables you to add, delete, or modify records in the line-data input file. The program invoked at this exit is defined by the value of the inpexit keyword of the line2afp command. This exit is called after each record is read from the input file. The exit can request that the record be discarded, processed, or processed with control returned to the exit for the next input record. The largest record that InfoPrint Manager can process is 32756 bytes. This exit is not called when the line-data transform is processing resources from directories. This example provides a sample C language header that describes the control block that is passed to the exit program: /* INPEXIT STRUCTURE */ typedef struct _INPEXIT_PARMS /* Parameters for input record exit */ { char *work; /* Address of 16-byte static work area */ PFATTR *pfattr; /* Address of print file attribute info*/ char *record; /* Address of the input record */ unsigned short in_CCSID; /* input CCSID for translating @06a*/ unsigned short out_CCSID; /* output CCSID for translating @06a*/ unsigned short recordln; /* Length of the input record */ 84 InfoPrint Manager for Windows: Procedures