Displaying sample AFP files

You can open a sample AFP file in Ricoh Visual Workbench. The sample AFP file must be representative of production AFP files that you want to enhance in the same way as the sample file. For example, if the AFP file contains text that you want to use in an index tag or in barcode data, choose a sample file that contains that text in the same position on the page as the production AFP files.
You can open one AFP file in Ricoh Visual Workbench at a time. If an AFP file is already open, Ricoh Visual Workbench automatically closes it and prompts you to save its control file if you have not already done so. After you open an AFP file, you can rotate the view, display selected pages, display different views, and increase the display size.

You can display the properties of page groups, pages, text, and AFP objects (such as page segments and overlays) in the AFP file. Page-group properties include the index tag values. Page properties include the type of AFP objects that are on the page, including page-level indexes. Text properties include font information and the location (in inches or millimeters) of the text.

If some text does not display correctly, you might need to identify the directory that contains the font resources to Ricoh Visual Workbench, or you might need to modify Ricoh Visual Workbench font mapping.
To display a sample AFP file:
  1. Click File → Open AFP file. You see the Open window.
  2. In the Pages to open field, select the number of pages you want to display. You can choose from 100 to 1,000 pages; however, performance decreases as the page count increases.
    For example, if you use AFP Indexer, you might need to open more than 100 pages if the first occurrence of a value that you want to index is past page 100.
  3. Select the AFP file that you want to open and click Open.
    You see the AFP file in the right pane of the user interface. You also see the Open Control File window with the message “Do you want to use an existing control file for this AFP file?”.
  4. Do one of these:
    • To create a control file, click No. If the AFP file contains index tags, you see the index tags in the bottom pane; otherwise, the bottom pane is blank.
    • To display the file using an existing control file, click Yes. This is recommended if you have previously created a control file for this sample AFP file. You see the Open window:
      1. Select the control file that you want to use.
      2. Click Open. If the control file contains definitions for index tags, or if the AFP file contains index tags, you see the index tags in the bottom pane; otherwise, the bottom pane is blank.
    To the left of the AFP file, you see the page structure of the file, which can contain page groups and pages. You might also see a resource group entry at the top of the page structure if the file contains inline AFP resources, such as overlays and page segments.
  5. To rotate the AFP file clockwise by 90 degrees, click View → Rotate by 90o. Click again to rotate another 90 degrees.
  6. To navigate in the AFP file, do one of these:
    • Click anywhere in the AFP file and press the Page Up or Page Down key on your keyboard.
    • Double-click to select a page from the left pane.
    • Double-click to select a page group from the bottom pane.
  7. To hide or display the page structure in the left pane, click View → File View.
  8. To hide or display the indexes in the bottom pane, click View → Index View.
  9. To increase or decrease the display size of the AFP file, click View → Zoom → nnn (nnn is one of these percentages: 200, 175, 150, 125, 100, 75, 50.)
    The display size of the AFP file is increased or decreased by the percentage you select.
  10. To change units of measurement, do one of these:
    • For inches, click View → Units → Inches.
    • For millimeters, click View → Units → Millimeters.
  11. To display properties:
    1. Do one of these:
      • In the left pane, click a resource, page group, or page. Right-click and click Properties.
      • Click Mode and a feature. Then:
        1. Click text or an object in the AFP file. You see a red box around the text or object you selected.

          If you cannot select an object, it is not enabled for selection. See Enabling object selection in sample AFP files.
        2. Right-click and then click Properties.
      A green box around a property value indicates that there is more text than what is displayed.
    2. To see the complete text for a value:
      1. Double-click the green box.
      2. Click OK.
    3. To close the Properties window, click X in the upper right corner.
  12. If text does not display correctly:
    • If the AFP file contains data that displays incorrectly, change the default code page to another code page (Resources → Modify Default Encoding). For example, an ASCII code page is IBM850(GID=850) and an EBCDIC code page is IBM500(GID=500).
    • If the AFP file refers to AFP fonts that are not inline, identify the directories that contain font resources to Ricoh Visual Workbench (Resources → Specify Resource Directories).
    • If the AFP file refers to custom AFP fonts, create custom font-mappings in Ricoh Visual Workbench.
  13. If an error occurs when opening or working with a file, click File → Reset, which closes the file and clears the cached resources from memory. Open the file again.
 
Copyright © 2006, 2016