Managing reports

Running a report

Note: We recommend running reports during off-peak hours to avoid affecting system performance.
  1. From LMC, click the System tab.

  2. From the System section, select Reports.

  3. In the Available Reports list, select a report.

  4. Specify the reporting period, and then select an output format.

    Note: Each report has a default output format. For more information on custom reports, contact the designer of your custom report.
  5. Save the report or send it in an e-mail.

    • To save the report, do the following:

      1. Select Save To, and then click the browse button beside the field.

      2. Using a UNC path for a shared folder, type a destination folder path.

      3. Type your credentials.

      4. Click OK.

    • To send the report in an e-mail, do the following:

      1. Select Email To, and then click the browse button beside the field.

      2. If necessary, edit the e-mail, and then click OK.

  6. If other query parameters are available for the selected report, then click Additional Parameters to specify values for those parameters. For more information, see Adding special LDD parameters.

    Note: Additional Parameters can be defined only when including a report with a workflow solution during development. For more information, see the Lexmark Document Distributor SDK Guide.
  7. Click Run Report.

    The report is shown in a new window.

    Notes:

    • Only summary reports are supported. If a custom report does not have a summary section, then the finished report is blank.
    • To view reports, enable pop-ups for LMC in your web browser.
    • Adobe Reader® is required to view PDF reports.

Scheduling a report

Note: We recommend running reports during off-peak hours to avoid affecting system performance.
  1. From LMC, click the System tab.

  2. From the System section, select Schedule.

  3. Click Add > Report.

  4. If necessary, type a description for the task, and then click Next.

  5. In the Available Reports list, select a report.

  6. Specify the reporting period, and then select an output format.

    Note: Each report has a default output format. For more information on custom reports, contact the designer of your custom report.
  7. Save the report or send it in an e-mail.

    • To save the report, do the following:

      1. Select Save To, and then click the browse button beside the field.

      2. Using a UNC path for a shared folder, type a destination folder path.

      3. Type your credentials.

      4. Click OK.

    • To send the report in an e-mail, do the following:

      1. Select Email To, and then click the browse button beside the field.

      2. If necessary, edit the e-mail, and then click OK.

  8. If other query parameters are available for the selected report, then click Additional Parameters to specify values for those parameters. For more information, see Adding special LDD parameters.

    Note: Additional Parameters can be defined only when including a report with a workflow solution during development. For more information, see the Lexmark Document Distributor SDK Guide.
  9. Click Next.

  10. Configure the date, time, and frequency for the task.

  11. Click Finish.

Note: Some solutions may include a script that runs a report with a predetermined configuration, which can be scheduled like any other script. Reports that run through a script can also be run separately for each server in the system. For more information, contact your solution developer.

Understanding built-in reports

Built-in reports show commonly used data and are designed for PDF output, except for those reports that specify CSV in the report title.

Adding a report

Note: Only summary reports are supported. If a custom report does not have a summary section, then the finished report is blank.
  1. From LMC, click the System tab.

  2. From the System section, click Reports.

  3. Upload the report files. Do the following:

    1. Click Upload Report Files, and then browse to one of the following files:

      • .jasper compiled report file

      • .jpg or .png graphics included in the report

      • .jrxml report source files (optional)

      Note: To prevent overwriting existing files, clear Overwrite if file already exists.
    2. Click Upload.

      Selected files are copied to the \Lexmark\Solutions\apps\wf-ldss\WEB-INF\reports\ folder where the system is installed on each server.

  4. In the Available Reports list, click the add icon or Add.

  5. Type a descriptive report name.

  6. Select the report file name for the compiled report that you uploaded.

  7. Select the default output format.

    Note: Each report has a default output format. For more information on custom reports, contact the designer of your custom report.
  8. Select the data source that the report is designed to access. Commonly used databases include the following:

    • MONITOR—Used by reports that access the jobs list and the log

    • SOLUTIONINFO—Used by some solutions to store custom data

  9. Click Save.

Editing report settings

  1. From LMC, click the System tab.

  2. From the System section, click Reports.

  3. In the Available Reports list, select a report, and then click the edit icon or Edit.

  4. Edit the report settings. Do one or more of the following:

    • Type a descriptive report name.

    • Select the report file name for the compiled report that you uploaded.

    • Select the default output format.

      Note: Each report has a default output format. For more information on custom reports, contact the designer of your custom report.
    • Select the data source that the report is designed to access. Commonly used databases include the following:

      • MONITOR—Used by reports that access the jobs list and the log

      • SOLUTIONINFO—Used by some solutions to store custom data

  5. Click Save.

Removing a report

  1. From LMC, click the System tab.

  2. From the System section, click Reports.

  3. In the Available Reports list, select a report.

  4. Click the delete icon or Delete > Yes.

Notes:

After removing a report from the Available Reports list, you can optionally delete associated files from the \Lexmark\Solutions\apps\wf-ldss\WEB-INF\reports\ folder on each server where LDD is installed.

Configuring default report options

  1. From LMC, click the System tab.

  2. From the System section, click Reports.

  3. In the Available Reports list, select a report.

  4. Configure one or more of the following report options:

    • Reporting period

    • Output format

    • Folder destination

    • E-mail destination

    • Other parameters

    Note: Clicking Refresh Defaults while configuring a report returns settings to defaults.
  5. Click Run Report.

Creating custom reports

LDD uses JasperReports for custom reports. You can create custom reports by using the open-source application iReport 3.5.2. For more information on overall report design, see the documentation for iReport.

Note: Only summary reports are supported. If a custom report does not have a summary section, then the finished report is blank.

Adding special LDD parameters

To use special LDD parameters in other parts of a report, add the following parameters to the report design:

Note: Special parameters can be defined only when including a report with a workflow solution during development. For more information, see the Lexmark Document Distributor SDK Guide.

Querying the database

Information for built-in reports and many custom reports are retrieved from the MONITOR database, which contains information about tasks. Custom reports may also retrieve information from the SOLUTIONINFO database, where some solutions store custom data.

The credentials for Firebird databases are the following:

The TASK_LOG table in the MONITOR database contains the following fields:

The TASK_INFO table in the MONITOR database contains the following fields:

Understanding included subreports

Some subreports are included with the installation, and may be useful in developing custom reports.

When using a subreport in a custom report, pass the following to any of the subreports by using the Parameters property of the subreport element:

The different subreports are the following:

File name

Page orientation

Description

_portrait_title.jasper

Portrait

Shows a default header image, the title of the report, and the selected reporting period for use as a header in a report.

_landscape_title.jasper

Landscape

_portrait_footer.jasper

Portrait

Shows the date when the report was created and the page number for use as a footer in the report.

_landscape_footer.jasper

Landscape

_portrait_no_data_message.jasper

Portrait

Shows a message indicating that data was not found within the selected period.

Note: By default, iReport does not generate a report if data is not found. To use a No Data node, change the setting for when data is not found in the report to No Data Section.

_landscape_no_data_message.jasper

Landscape

_Printers_Least_Used

Either

Shows the printers that are least used to submit jobs.

_Printer_Models_Most_Used

Either

Shows the printer models that are most used to submit jobs.

_Printers_Most_Used

Either

Shows the printers that are most used to submit jobs.

_Server_Stats

Either

Shows a breakdown of job types that are run on a server.

Note: This subreport uses the additional parameter SERVER, which contains the host name of the server for which the subreport must be run.

_Servers_Most_Used

Either

Shows the servers that have processed the most jobs.

_SoftwareClients_Most_Used

Either

Shows the software clients that are most used to submit jobs.

_Solution_Profile_Most_Used

Either

Shows the solution profiles that are most used for submitted jobs.

_Solution_Profile_Printers

Either

Shows the printers from where the most jobs are submitted for each profile.

_Solution_Profile_Scheduled_Scripts

Either

Shows the solution profiles that scheduled tasks run most frequently.

_Solution_Profile_SoftwareClients

Either

Shows the software clients from where the most jobs are submitted for each profile.

_Solution_Profile_Users

Either

Shows the users who have submitted the most jobs for each profile.

_Solutions_Most_Used

Either

Shows the solutions that are most used for submitted jobs.

_Task_Most_Run

Either

Shows the most frequently run tasks.

_Users_Most_Active

Either

Shows the users who have submitted the most jobs.

_Users_Most_Cancellations

Either

Shows the users who have canceled the most jobs.

_Users_Printers

Either

Shows the users who have submitted the most jobs for each printer.

_Users_SoftwareClients

Either

Shows the users who have submitted the most jobs from each software client.