Search order for AFP resource extensions
Extensions are added to resource file names in a specific order based on the type of resource that is requested. Sometimes, different components add extensions in different orders.
These components in RICOH ProcessDirector request AFP resources: the AFP viewer, the printer driver (PSF), and the line data to AFP transform.
AFP viewer
The configuration file for the AFP viewer, /opt/infoprint/ippd/afpviewer/a2pxopts.cfg (AIX and Linux)
C:\Program Files\Ricoh\afpviewer\a2pxopts.cfg (Windows)
, lets you specify file extensions for page segments, overlays, form definitions,
JPEG files, GIF files, TIFF files, character sets, code pages, and coded fonts. The
viewer searches for files in the order that you specify the extensions.
The configuration file that is installed with RICOH ProcessDirector contains these statements that set extensions for resources:
PageSegExt=*.,*.psg,*.PSG OverlayExt=*.,*.oly,*.OLY FormDefExt=*.,*.fde,*.FDE JFIFEXT=*.,*.DOR,*.png, *.png,*.jfif,*.jpeg GIFEXT=*.,*.DOR,*.png,*.png TIFFEXT=*.,*.DOR,*.tif,*.TIF,*.tiff,*.TIFF CHARSETEXT =*.,*.240,*.300,*.OLN,*.oln,*.Oln,*.fnt CODEPAGEEXT =*.,*.fnt CODEDFONTEXT =*.,*.fntFor example, the configuration file sets the extensions for page segments to no extension (
*.
), .psg, and .PSG. To use different extensions, you can add other values by separating them with commas.
For example, you can specify that no extension, .psg, .PSG, .300, and .600 should be searched as page segment extensions in that order if you change the page
segment line to PageSegExt=*.,*.psg,*.PSG,*.300,*.600.
To comment out a line, insert the # character at the beginning of the line.
If there is no entry in the configuration file for a resource type, the AFP viewer looks for files with these extensions:
- .jfif for JPEG files
- .png for GIF files
- .tif for TIFF files
- No extension for other resource types
Printer driver and line data transform
For most types of resources, the printer driver and the line data transform use the same list of file extensions for each type of resource and they search in the same order. However, they use slightly different methods to search for data object resources and for most font resources. The line data transform uses the same list of extensions for all font-related resources that it works with except TrueType and OpenType fonts.
This table lists the file extensions that these components associate with each type of resource and the order in which they apply them.
When you install Color Management Resources (CMRs), data objects, True Type fonts, and Open Type fonts using InfoPrint AFP Resource Installer, you give each object a name. Jobs refer to those types of objects using that name. To find the object, RICOH ProcessDirector searches the directories specified in the AFP resource path to find a directory that contains a resource access table (RAT). Then RICOH ProcessDirector searches the RAT to find the fully qualified file name and directory location for the resource. If the name is not listed in the RAT, RICOH ProcessDirector moves to the next location listed in the AFP resource path.
File extensions that the printer driver and the line data transform add to resource names, listed by resource type
AFP resource type | File extensions that the printer driver adds | File extensions that the line data transform adds |
---|---|---|
BCOCA objects (barcodes) | No file extension | No file extension |
Code pages |
|
|
Coded fonts |
|
|
Color mapping table |
|
|
Font character sets, 240-pel resolution |
|
|
Font character sets, 300-pel resolution |
|
|
Fonts, outline |
|
|
Form definitions |
|
|
GOCA objects (graphics) | No file extension | No file extension |
IOCA objects (IO images) | No file extension | No file extension |
MO:DCA objects |
|
|
Overlays |
|
|
Page definitions | Not applicable |
|
Page segments |
|
|
Setup data |
|
|