Search order for AFP resource extensions

Print files refer to AFP resources by their names, without including a file type extension. However, resource files often have extensions added to them. When a component of RICOH ProcessDirector requests a resource, it uses the inline resource if the job includes one. Otherwise, it first looks for a file that matches the resource name without an extension. If it cannot find one, it adds one extension after another to the file name and searches for the resource using the new name.

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.

Note: On Linux and AIX, file extensions are case-sensitive.

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 =*.,*.fnt
For 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.

Note: On Linux and AIX, all file extensions must be in uppercase.

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
  1. ECP
  2. No file extension
  3. FONT3820
  4. FONT38PP
  5. CDP
  6. FONT300
  1. ECP
  2. No file extension
  3. 240
  4. 300
  5. FONT300
  6. FONT3820
  7. FONT38PP
  8. CDP
  9. CFT
  10. OLN
  11. FONTOLN
  12. FIL
Coded fonts
  1. No file extension
  2. FONT3820
  3. FONT38PP
  4. CFT
  5. FONT300
  1. No file extension
  2. 240
  3. 300
  4. FONT300
  5. FONT3820
  6. FONT38PP
  7. CDP
  8. CFT
  9. OLN
  10. FONTOLN
  11. FIL
Color mapping table
  1. No file extension
  2. SETUP
  3. SET
  1. No file extension
  2. SETUP
  3. SET
Font character sets, 240-pel resolution
  1. No file extension
  2. 240
  3. FONT3820
  4. FONT38PP
  5. FIL
  1. No file extension
  2. 240
  3. 300
  4. FONT300
  5. FONT3820
  6. FONT38PP
  7. CDP
  8. CFT
  9. OLN
  10. FONTOLN
  11. FIL
Font character sets, 300-pel resolution
  1. 300
  2. FONT300
  3. No file extension
  1. No file extension
  2. 240
  3. 300
  4. FONT300
  5. FONT3820
  6. FONT38PP
  7. CDP
  8. CFT
  9. OLN
  10. FONTOLN
  11. FIL
Fonts, outline
  1. OLN
  2. FONTOLN
  1. No file extension
  2. 240
  3. 300
  4. FONT300
  5. FONT3820
  6. FONT38PP
  7. CDP
  8. CFT
  9. OLN
  10. FONTOLN
  11. FIL
Form definitions
  1. No file extension
  2. FDEF3820
  3. FDEF38PP
  4. FDE
  5. FIL
  1. No file extension
  2. FDEF3820
  3. FDEF38PP
  4. FDE
  5. FIL
GOCA objects (graphics) No file extension No file extension
IOCA objects (IO images) No file extension No file extension
MO:DCA objects
  1. No file extension
  2. OBJ
  3. OBJECT
  1. No file extension
  2. OBJ
  3. OBJECT
Overlays
  1. No file extension
  2. OVLY3820
  3. OVLY38PP
  4. OVL
  5. OLY
  6. OVR
  1. No file extension
  2. OVLY3820
  3. OVLY38PP
  4. OVL
  5. OLY
  6. OVR
Page definitions Not applicable
  1. No file extension
  2. PDEF3820
  3. PDEF38PP
  4. PDE
Page segments
  1. No file extension
  2. PSEG3820
  3. PSEG38PP
  4. PSG
  5. PSE
  1. No file extension
  2. PSEG3820
  3. PSEG38PP
  4. PSG
  5. PSE
Setup data
  1. No file extension
  2. SETUP
  3. SET
  4. COMSETUP
  1. No file extension
  2. SETUP
  3. SET
  4. COMSETUP