Creating text with AFP Editor

You can create a string of text on a specified page of each page group in an AFP file and specify its color, font, and size. For example, you can add page numbers or you can add text so that the information in a barcode is also printed as readable text.

You can create text in an AFP file from:

  • Text you enter from the keyboard
  • Index tags defined in each page group
  • Page number or page count property values

To determine the position of the new text, work from a copy of the sample AFP file printed on the production printer. Measure where you want to place the top-left corner of the text area (X and Y positions) on the printed page from the top-left corner of the logical page.

In Ricoh Visual Workbench you can display measurement units in inches or millimeters. To change the measurement unit, click View → Units.
To create text in an AFP file:
  1. In Ricoh Visual Workbench, open a sample AFP file.
  2. If the file does not contain page groups, use AFP Indexer to create page groups.
  3. Click Mode → AFP Editor.
  4. To create an area for the text, position your cursor at a corner of the area you want to create. While pressing the left mouse button, draw a box the size you want.
  5. Right-click anywhere in the AFP file and then click Create Text.
    You see the Create Text String window.
  6. On the Text tab, type a descriptive name for the text area in the Text definition name field.
  7. In the Text string data section, create a text string.
    For example, to add the page number, such as "Page 1 of 10", to the first page of each page group:
    1. Type Page in the Text field and click Add.
    2. Select Page Number from the Property drop-down list and click Add. Page Number is the number of the page in the page group.
    3. Type of in the Text field and click Add.
    4. Select Page Count from the Property drop-down list and click Add. Page Count is the total number of pages in the page group.
    You see the text string value in the field below the data fields.
  8. Optional: To edit the text string, select a line of data and use Up or Down to change the order of the line or Remove to delete the line.
    Remember to add blank characters between words if you need to.
  9. Optional: Select a color for the text from the Color drop-down list.
  10. Optional: On the Font tab, select one of these:
    • Core Fonts

      From the drop-down lists, select the character set and code page, and, if the font is an outline font, the point size in the Font Information section.

    • External Fonts

      Type a character set and code page pair, a coded font name, or all three. For double-byte character set (DBCS) fonts, use the coded font name only.

      Note: If you enter a code page that is part of a DBCS-coded font, you see an error message that suggests you use the coded font name instead.

    You see the Character Set Description and Font Resource fields change for the font you selected. Font Resource is "Outline" for core fonts and "Raster" for external fonts.

    1. On your workstation, if the font size does not exist for the color you selected, your display defaults to 12 black, even though the final AFP file will have the correct font and color.
    2. If the character names do not match between a character set and code page, the job goes into an error state in Ricoh ProcessDirector and the printer issues an error. To correct the error, change the character set and code page to a valid pair and process the job again.
  11. Optional: On the Position tab, change the origin (top-left corner), size, and orientation of the text area. Specify the origin and size in inches or millimeters. Decimal values (such as 2.5) are allowed. The fields are:

    X position

    The horizontal distance of the left side of the area measured from the left side of the logical page (not the physical sheet of paper).

    Y position

    The vertical distance of the top of the area measured from the top of the logical page (not the physical sheet of paper).

    Width

    The horizontal width of the area.

    Height

    The vertical height of the area.

    Orientation

    The number of degrees the text is rotated in the defined area: 0o, 90o , 180o, 270o

    If you rotated the AFP file using the Rotate by 90o option on the View menu, measure the X and Y positions from the top-left corner of the logical page in the unrotated view.
  12. Click OK.
    You see the text in the AFP file.
  13. Repeat steps to to add text to another page in each page group. For example, select the second page to add "Page 2 of 10" to the second page of each page group.
 
Copyright © 2006, 2018