Input Record Exit - Ricoh InfoPrint Pro C900AFP Manual

Infoprint manager
Hide thumbs Also See for InfoPrint Pro C900AFP:
Table of Contents

Advertisement

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
{
84
InfoPrint Manager for Windows: Procedures
char
*work;
PFATTR
*pfattr;
char
*record;
unsigned short in_CCSID;
unsigned short out_CCSID; /* output CCSID for translating
unsigned short recordln;
/* Address of 16-byte static work area */
/* Address of print file attribute info*/
/* Address of the input record
/* input CCSID for translating
/* Length of the input record
*/
*/
*/
@06a*/
@06a*/
*/

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Infoprint manager for windows

Table of Contents