Documentation for POS Intellect 5.4. Documentation for other versions of Intellect is available too.

Previous page Import of .prl parser  Setting up the Search by captions window Next page

To edit the.prl parser follow two stages:

  1. Enable the displaying of edit parser panel
  2. Set the rules of receipts structuring on the settings panel

To the Enable the displaying if edit parser panel do the following steps:

  1. Run the utility Extended settings tweaki.exe from the Start menu OS Windows: Start -> Programs -> Intellect -> Tools -> Tweaki. Intellect tweaker dialog window will open in result.

    Note.

    The utility can also be run from Tools folder of POS-Intellect install catalog: <POS-Intellect installation directory>\Tools\Tweaki.exe. Detailed description of work with tweaki.exe utility is given in the documentation Intellect software: Administrator guide
  2. Go to the settings panel of POS-Intellect section dialog window Intellect Advanced Setup (1).
  3. Set the checkbox Allow to specify recognition settings to display edit parser panel (2).
  4. Click OK to save the changes and quit tweaki.exe utility (3).
  5. Run the POS-Intellect software and then go to the settings panel of the required POS-terminal object
  6. Click Advanced button and select Parser settings in the appeared dialog window.
  7. Parser settings  tab will be displayed in result

Displaying the Parser settings tab is completed.

Parser settings panel may be used both for editing and creating the parser. Settings group on the on the parser settings panel are shown in the figure.

Note.

Preliminary import with the help of Import button is necessary to edit the parser. Parser import order is identical to that one, described in .prl parser import.


Description of settings group on the edit parser panel is given in the table.

Group

Description

1

Template name

Set the descriptive parser name

2

Prolog

Set the rules of receipt structuring while fulfilling receipt’s databases

3

Epilog

Set the rules of receipt’s end structuring while fulfilling receipt’s databases.

4

Body

Set the rules of receipt’s body structuring while fulfilling receipt’s databases.

Groups 2-4 have the same set of user interface elements.

Editing the data structuring rules in groups 2-4 is done in the following way:

  1. Names of structuring rules  are displayed in the first list
  2. If a new rule has to be added to the first list, click  (1-2). Enter the name of the new rule in the opened Enter/change value dialog window and then click OK.
  3. If the name of the rule has to be edited, select the name of the required rule and click (1-2). Set a new name of the selected rule in the opened dialog window Enter/change value  and then click OK.

    Note.

     It is possible to click upon the name of the rule with left mouse button twice instead of button.
  4. If the rule has to be deleted, select the name of the required  rule in the first list  and click  button(1-2)
  5. If the name of the rule has to be moved upwards, click ;  - to be moved downwards (3)
  6. Select the name of the rule in the first  list and then enter the required changes in the field 4 to create/edit the text of the structuring rule (Figure 6.3—45, 4)
  7. If the message about registration of the given receipt area has to be sent to POS-server, set the checkbox Sent event (Figure 6.3—45, 5)
  8. Repeat steps 1-7 for all the required setting groups on the edit panel

Editing the data’ structuring rules in groups 2-4 is completed.

To export structuring rules to the parser file do the following:

  1. Click Export button
  2. Save .prl parser file in the Windows standard dialog window Save as

Exporting the structuring rules to the parser file is completed.

Note.

Copy and Paste buttons are very convenient for moving the structuring rules  to other OPS-terminal objects, registered in the system.

Click OK to save the changes and close the Advanced window.

Cick Apply on the POS-terminal object’s settings panel (2).

Editing the.prl parser is complete.

  • No labels