The address of the control block containing these parameters is passed to the
resource-record exit:
work (Bytes 1–4)
A pointer to a static, 16-byte memory block. The exit program can use this
parameter to save information across calls (for example, pointers to work
areas). The 16-byte work area is aligned on a full word boundary and is
initialized to binary zeros before the first call. A user-written exit program
must provide the code required to manage this work area.
pfattr (Bytes 5–8)
A pointer to the print file attribute data structure. See “Attributes of the
line-data input file” on page 80 for more information about the format of this
data structure and the information presented.
resname (Bytes 9–16)
Specifies the name of the requested resource. The exit program cannot modify
or change this value.
restype (Byte 17)
Specifies the type of resource the name refers to. This is a one-byte
hexadecimal value where:
X'03'
Specifies a GOCA (graphics) object
X'05'
Specifies a BCOCA (barcode) object
X'06'
Specifies an IOCA (IO image) object
X'40'
Specifies a font character set
X'41'
Specifies a code page
X'FB'
Specifies a page segment
X'FC'
Specifies an overlay
The line-data transform does
not
call this exit for these resource types:
v
Page definition
The page definition (
pagedef
keyword) is a required resource for
transforming a line-data file.
v
Form definition
The form definition (
formdef
keyword) is a required resource for printing a
transformed line-data file.
v
Coded fonts
/*********************************************************************/
/* RESEXIT STRUCTURE
*/
/*********************************************************************/
typedef struct _RESEXIT_PARMS /* Parameters for resource record exit */
{
char
*work;
/* Address of 16-byte static work area */
PFATTR
*pfattr;
/* Address of print file attribute info*/
char
resname[8]; /* Name of requested resource (8 byte) */
char
restype;
/* Type of resource
*/
char
request;
/* Ignore or process the resource
*/
char
eof;
/* Last call indicator
*/
unsigned short resnamel;
/* Length of resource name
@05A*/
char
pad1[3];
/* padding byte
@05A*/
char
resnamf[250]; /* Rsrc name if more than 8 bytes@05A*/
} RESEXIT_PARMS;
Figure 4. Sample resource exit C language header
Chapter 6. User-exit programs (PSF, Generalized Fax, and Email DSS only)
79
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 ...