Documentation for POS Intellect 5.5. 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 Intellect software: Administrator guide documentation 
  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 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 it is necessary to add a new rule 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 it is necessary to edit the name of the rule, select the name of this rule and click (1-2). Set a new name of the rule in the opened dialog window Enter/change value and then click OK.

    Note.

     Instead of button, you can double-click on the name of the rule.
  4. If it is necessary to delete the rule, select the name of the rule in the first list and click  button(1-2)
  5. If it is necessary to move the name of the rule 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 it is necessary to send the message about registration of the given receipt to POS-server, set the Send event checkbox (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 configure the parser when data is received only about the beginning of a receipt, do the following:

  1. Enter the template name in the Template name field (1).
  2. In the rule name area of the Prolog field (2), enter the value __CLOSE__=1, using a double underscore before and after the word CLOSE.
  3. In the check structuring rules area (3), enter the value .+ (point plus).
  4. Set the Send event checkbox (4).
  5. Press the OK button (5).

Setting up the parser when receiving data only about the beginning of the check is completed.

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

  1. Click Export button
  2. In the standard Windows Save as dialog box that appears, enter a file name, select a folder, and save the parser file with the .prl extension.

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 POS 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