Search and Replace Dialog (Printer Code Modifier) |
Use the Search and Replace (Printer Code Modifier) dialog to create, modify, and test actions for printer code modification.
Actions List
The Actions list is located on the left side of the Search and Replace (Printer Code Modifier) dialog. This is a list of all the printer code modifier actions that will be run. Each action consists of text to be searched for; instructions to insert, replace, or delete that text; and the search method to be used. You can also specify the code page to be used. The actions in the list are performed in the order in which they appear, and each action makes a complete pass through the print code before it continues with the next action.
The following options are available:
Inserts a new action into the list.
Deletes the selected action.
Deletes the selected action and places a copy of the action on the Clipboard.
Copies the selected action to the Clipboard.
Pastes a copy of the action that is currently on the Clipboard into the list.
Moves the selected action up one position in the list.
Moves the selected action down one position in the list.
Action Options
Description: Specifies the name that identifies the selected action.
Action: Specifies the action to be performed.
Search Text: Specifies the text to be searched for in the print code. You can add control characters to the field by clicking the icon.
Replace Text: Specifies the text to replace instances of the search text. You can add control characters to the field by clicking the icon. Available when Search and Replace is selected as the Action.
Insert Text: Specifies the text to insert before or after instances of the search text. You can add control characters to the field by clicking the icon. Available when Search and Insert or Insert is selected as the Action.
Encoding: Specifies the code page to use with the replacement text.
Search Method:
First Occurrence Only: Specifies that the selected action is performed only the first time that the search text is found in the print code.
Test: Opens the Modify File dialog, which you can use to test the list of actions and confirm that they behave the way that you want. The actions are performed by using the content of the specified source file and are exported to the destination file.
The following options are available:
Source File: Specifies the location of the print code file that is to be read.
Destination File: Specifies the location of the file where the results are exported to.
Automatically Overwrite Destination File: Specifies that the destination file contents are replaced if the file already exists.
Display Destination File After Modification: Opens the destination file after the search is complete.
Related Topics