You create a map file that describes how to map original images, overlays and color profiles to external resources. Then you add the map file to the AFP driver configuration. The map file settings override the corresponding AFP driver GUI settings for images, overlays and color profiles.
2 Rename the table resource. For example to resourcemap.
4 For each image/overlay/color profile you want to map, add a new line using the syntax and parameters described below.The following syntax is used to map an image, overlay or color profile to an external resource.Item TAB Type TAB Name TAB Mode TAB LocationItem TAB Type TAB Name TAB Mode TAB Location COLORPROFILE TAB Name TAB Mode TAB Location
Item
The name defined for the overlay/image in the StreamServe Process tool (e.g. PageOUT).Type
PSEG – for images.OVERLAY – for overlays.COLORPRFOFILE – for color profiles.Name
The AFP resource name, for example 01SLIPEN. Image resources have the prefix S1, and overlay resources have the prefix O1. The resource name and prefix for images and overlays can be up to eight characters long.Mode
•
•
•
•
• See Modes for managing AFP resources for more information.Location
The path to the directory with the image/overlay/color profile resource. For example, AFPRESOURCES/01SLIPEN.OVLIf Mode is INCLUDE, the resource is retrieved from this location. If Mode is EXPORT, the resource is exported to this location.Type
COLORPROFILEThis parameter is optional. It is only used to specify a color profile for an image that is mapped to an existing AFP resource.Name
This parameter is optional. It is only used to specify a color profile for an image that is mapped to an existing AFP resource.Mode
• This parameter is optional. It is only used to specify a color profile for an image that is mapped to an existing AFP resource.Location
This parameter is optional. It is only used to specify a color profile for an image that is mapped to an existing AFP resource.The map file you create is exported from the resource set to <export>\data\tables. You must specify this path when you configure the device driver settings.
1 Open the Runtime Connector settings dialog for the output connector that delivers the AFP output.
2
3 In .Map file (Resource), enter the path to the map file, for example:data\tables\resourcemap
Example 9 In this example, the image Logo.gif and the overlay Slip.lxf are used in PageOUT. The image and overlay are added to the AFP data stream file using Include mode. The image resource is retrieved from the file S1LOENG.PSG, and is named S1LOENG. The overlay resource is retrieved from the file O1SLIPEN.OVL, and is named O1SLIPEN. Both resource files are stored in the resource directory AFPRESOURCES in the Export directory of the Project.//!CodePage UTF8!Slip OVERLAY 01SLIPEN INCLUDE AFPRESOURCES/01SLIPEN.OVLLogo PSG S1LOEN INCLUDE AFPRESOURCES/S1LOEN.PSG
Example 10 In this example, the image logo references a color profile named ICCColorProfile45x. The color profile is added to the AFP data stream file using Include mode. The color profile is retrieved from the file ICCColorProfile45T.icc, which is located in the Project export directory called AFPRESOURCES.//!CodePage UTF8!logo COLORPROFILE ICCColorProfile45x INCLUDE AFPRESOURCES/ICCColorProfile45T.iccIn this example, the image Logo is mapped to the file 1LOENG.PSG, which is located in the directory called AFPRESOURCES in the Project Export directory. The image is added to the AFP data stream file using Reference mode. The image references a color profile named ICCColorProfile45x.//!CodePage UTF8!Logo PSG S1LOEN INCLUDE AFPRESOURCES/S1LOEN.PSG COLORPROFILE ICCColorProfile45x REFERENCE
OpenText StreamServe 5.6 | Updated: 2013-03-01 |