Configuration file

Top  Previous  Next

 

The general configuration of the n2pdf Server Task takes place in the "nn2pdf.ini" file. This file is created during installation in the Notes or Domino directory.

 

Two sections can be present in this INI file:

[RegKey]
[Server]

 

"[RegKey]" section

The license, i.e. the registration key, is stored in this section.

 

Key=

The registration key is stored in this entry.

 

"[Server]" section

All settings for the Server Task are stored in this section.

 

MaxThreads=

With this value you can set the max. number of converter instances used. Please note that the max. value for this setting is the max. value of the licensing. For example, if you have licensed five converter instances, this is the max. value for this setting. However, a lower value is possible.

 

LogLevel=

With this setting you decide the scope of the messages which appear on the console. Enter a value here between 0 and 3 (default: 2):

 

0 = no messages

1 = only error messages will be displayed

2 = error messages and short status messages (standard mode)

3 = detailed display of error and status messages

 

Interval=

This value specifies the time interval (default: 500 ms) at which the Server Task looks for new jobs. It is specified in milliseconds (minimum: 100 ms).

 

SchedulerInterval=

This value specifies the time interval (default: 2000 ms) at which the scheduler of the Server Task looks for scheduled jobs. It is specified in milliseconds (minimum: 1000 ms).

 

CompactInbox=

If this value is set to 1 (default), the "Inbox" of the Server Task is packed each night at 02:00. No conversion is possible during this time, because all converter instances are put on hold.

 

Language=

Set the language number for the message display:

7 = German

9 = English

The default value is determined by the operating system settings. Default language is English.

 

CommandLineMode=   (Client Mode only)

Set this value to 1 (default: 0) if the application should be terminated automatically after all jobs of the application are executed. The n2pdf Server Task starts, processes all currently pending jobs, and terminates immediately.

 

WaitOnError=   (Client Mode only)

Set this value to 1 (default: 0), if the application should wait for a keystroke on completion. If an error occurred during the processing of jobs and the application comes to an end, the application waits for a keystroke. This enables you to read the error message. The use of this parameter is only meaningful in conjunction with "CommandLineMode=1".