The Print Tracker (PT) component of Local Printer Management Agent (LPMA) must know certain information to run properly. For example, it must know where to send a job report. This information is stored in a configuration file called
. This file is located in the directory where the service is installed.The following is a sample configuration file:
[CLIENT_VERSION] VERSION=1.0.0.1 [SERVER] BLACKOUT_DAYS=DISABLED BLACKOUT_TIME=DISABLED CS_COST_CENTER=<cost_center> CS_CLIENT_ID=<clientID> CS_CLIENT_SECRET=<clientSecret> CS_REPORT_URI=/api/2.0/jobs/directPrint/batch CS_TOKEN_URI=/idm/oauth/token REPORT_SERVER_ADDRESS= REPORT_SERVER_PORT=9780 REPORT_SERVER_SECURE_CONNECTION=DISABLED TOKEN_SERVER_ADDRESS= TOKEN_SERVER_PORT=9783 TOKEN_SERVER_SECURE_CONNECTION=ENABLED TIMEOUT=30 [JOB_REPORT] RUN=ENABLED RUN_ON_STARTUP=ENABLED TASK_RUN_TIME=INTERVAL:120
Where:
is the cost center of the company.
The values for
and can be taken from <install-dir>\Lexmark\Solutions\apps\idm\WEB-INF\classes\idm-production-config.properties file, where <install-dir> is the installation folder of LDD.The general format of the configuration file is the following:
[SECTION_NAME] key1=value1 key2=value2 ...
Where:
is a descriptive name for the section.
and are names of configurable features that the LPMA service refers during its run.
and are values to their respective keys.
Notes:
The following tables describe features.
Section Key | Values |
---|---|
If the value is , then Print Tracker reports job metrics. | |
If the value is , then Print Tracker, on starting, sends stored job reports, in addition to scheduled job reporting. | |
The schedule for print job reporting. The default value is 2 hours. For more information on interval values, see Valid interval values |
Values | Description |
---|---|
Note: Make sure to use the 24-hour time format. Use commas to separate the items. | |
The task is disabled. | |
The task runs every time a specified number of minutes elapses. For example, if the key value is set to , then the task runs every 30 minutes. | |
The task runs every hour after the service starts. For example, if the service starts at 10:24, then the task runs at 11:24, 12:24, and so on. | |
The task runs every day at specified times. For example, if the key value is , then the task runs every day at 8:30 a.m., 12:45 p.m., and 9:00 p.m. | |
The task runs on one or more days of the week at specified times. For example, if the key value is set to , then the task runs at 8:30 a.m., 12:45 p.m., and 9:00 p.m. on each of those days. |