Creating conditions between barcode definitions

When you define more than one barcode, you can create a condition between two barcodes that AFP Editor uses to determine which barcode is created in the AFP file.
You can use conditions to control when a barcode is added to a page group. For example, if some page groups contain POSTNET barcodes and some page groups do not, you might want to add a new barcode to the page groups that do not have one. You can define a new barcode and create a condition so that whenever the POSTNET barcode is not found, the new barcode is added to the page group. Similarly, if you want to replace an existing barcode in all page groups with a new barcode, you can define a condition so that whenever the old barcode is found, it is replaced with the new barcode.
To create a condition between barcode definitions:
  1. In RICOH Visual Workbench, open a sample AFP file.
  2. Click Mode AFP Editor.
  3. Create two barcodes if you do not already have two defined.
  4. Do one of these:
    • After the second barcode is defined, click Yes when you are asked if you want to create a condition for this definition.
    • Click Tools Modify Definitions and then click Conditions on the Modify and Delete Definitions window.
    You see the Create Conditions between Definitions window.
  5. From the drop-down list, select a barcode in the Select Definition 1 field.
  6. From the drop-down list, select one of these conditions in the Select Condition field:
    • fails, run: If the first barcode definition cannot be created, use the second definition.
    • succeeds, run: If the first barcode definition can be created, use the second definition.
  7. From the drop-down list, select a barcode in the Select Definition 2 field.
  8. Click OK.
    The condition is created and is listed on the Modify and Delete Definitions window, if it is open. If the Modify and Delete Definitions window is closed, click Tools Modify Definitions to see the condition you just defined.
  9. To close the Modify and Delete Definitions window, click X in the upper right corner.