HowTo - Transym TOCR.ini Config

Einstellungsmöglichkeiten in der Transym TOCR.ini

Ini File Settings

The initialisation file TOCR.INI should be located in your main operating directory. You will not normally need to edit it. However an explanation of the entries is provided below.

TOCR.INI contains the following sections and entries:

[API]

Error Mode

Sets the default error mode for all new jobs (0 is no message box, 1 means put up a message box if an error occurs and 2 means log the errors to a file – see the [TOCR] section).

Mutex Wait

Sets the amount of time (in milliseconds) that the process will wait to obtain exclusive access to objects. If you get errors such as “Failed to lock Job database” and you are on a slow or heavily loaded machine then increase this value.

Event Wait

Sets the amount of time (in milliseconds) that the process will wait for a service. If you are on a slow or heavily loaded machine then increase this value.

[Service]

Error Mode

Sets the error mode for the service process (0 is no message box, 1 means put up a message box if an error occurs and 2 means log the errors to a file – see the [TOCR] section). This should normally be zero and is only intended for use as a diagnostic.

Event Wait

Sets the amount of time (in milliseconds) that the process will wait for a service. If you are on a slow or heavily loaded machine then increase this value.

Thread Priority

Sets the priority of the thread that will perform the OCR. This value should be one of the THREAD_PRIORITY_… values. The default is THREAD_PRIORITY_NORMAL.

[TOCR]

ErrorLogFile

The name of a file where errors will be logged when Error Mode is set to 2. The default file name is TOCRerr.log.