RESTYPE

Determines the types of AFP print resources that ACIF should collect and include in the resource group file.

Required
No
Default Value
NONE
Data Type
AFP
Note: To collect any resources, you must specify CONVERT=YES (the default value). Resources are not collected when you specify CONVERT=NO.

Syntax

RESTYPE={NONE | ALL | [,BCOCA] [FDEF] [,PSEG] [,OVLY] [,FONT] [,GOCA] [,IOCA] [,OBJCON] [,INLINE] [,INLONLY] [,PTOCA] [,CMRALL] [,CMRGEN]}

Options and values

The values are:

  • NONE

    No resource file is created.

  • ALL

    All resources required to print or view the output file will be included in the resource file.

  • FDEF

    The form definition used in processing the file will be included in the resource file.

  • PSEG

    Page segments required to print or view the output file will be included in the resource file.

  • OVLY

    Overlays required to print or view the output file will be included in the resource file.

  • FONT

    Font character sets and code pages required to print or view the output file will be included in the resource file. If you specify MCF2REF=CF, ACIF also includes coded fonts in the resource file.

  • BCOCA

    BCOCA objects required to print or view the output file will be included in the resource file.

  • GOCA

    GOCA objects required to print or view the output file will be included in the resource file.

  • IOCA

    IOCA objects required to print or view the output file will be included in the resource file.

  • OBJCON

    Specifies that all object container files requested by the input data stream be included in the resource file.

  • INLINE
    Specifies that inline resources are written to the output file in addition to being written to the resource file. The resources precede the document in the output file. For example, RESTYPE=FONT,PSEG,INLINE causes any inline fonts and page segments to be written to the output file. Also, both inline and library fonts and page segments are written to the resource file.
    Important: Do not use the INLINE option for documents loaded into Content Manager OnDemand. Content Manager OnDemand requires a separate resource file.
  • INLONLY

    Specifies that inline resources are written to the output file. ACIF will look only inline for the resources. External libraries will not be searched. A resource file will not be created.

    Important: Do not use the INLONLY option for documents that are loaded into Content Manager OnDemand. Content Manager OnDemand requires a separate resource file.
  • PTOCA

    Specifies that all PTOCA objects included by an IOB structured field required to print or view the output document file be included in the resource file.

  • CMRALL

    Specifies that all CMRs required to print or view the output document file (except link CMRs) are included in the resource file. These CMRs include all CMRs referenced in the data stream, all CMRs referenced through a data object or color management resource access table (RAT), and all generic halftone and tone transfer curve CMRs.

  • CMRGEN

    Specifies that all CMRs referenced in the data stream plus any non-device specific CMRs referenced through a data object or color management RAT (except link CMRs) are included in the resource file. With CMRGEN, the output generated by ACIF is not device specific, unless the data stream explicitly references a device specific CMR.

Because Content Manager OnDemand does not use AFP raster fonts when presenting the data on the screen, you might want to specify RESTYPE=FDEF,OVLY,PSEG to prevent fonts from being included in the resource file. This reduces the number of bytes transmitted over the network when documents are retrieved by the client.

If you have a resource type that you want saved in a resource file and it is included in another resource type, you must specify both resource types. For example, if you request that just page segments be saved in a resource file, and the page segments are included in overlays, the page segments will not be saved in the resource file, because the overlays will not be searched. In this case, you would have to request that both page segments and overlays be saved.

If a resource is inline and ACIF is collecting that type of resource, the resource will be saved in the resource file regardless of whether it is used in the document, unless EXTENSIONS=RESORDER is specified in the ACIF parameters. Another method to remove unwanted resources from the resource file is to use a resource exit.

Because multiple resource types are contained in the page segment and object container libraries, and ACIF does not enforce a prefix for the eight-character resource name, you should define a naming convention that identifies each type of resource in the page segment library. IBM® recommends a two-character prefix, for example:
  • B1 for BCOCA objects
  • E1 for encapsulated PostScript objects
  • G1 for GOCA objects
  • H1 for microfilm setup objects
  • I1 for IOCA objects
  • IT for IOCA tile objects
  • PP for PDF single-page objects
  • PR for PDF resource objects
  • S1 for page segments

Related parameters