Managing reports

Running a report

Note: It is recommended to run reports during off-peak usage times to avoid affecting system performance.
  1. Click the System tab.

  2. Select Reports from the System list.

  3. Select a report from the Available Reports list.

  4. Specify the reporting period.

  5. Select an output format from the Output Format drop-down menu.

    Note: Each report has a default selection for the output format, which may be the format that the report was specifically designed to use. For more information about a custom report, contact the designer of your custom report.
  6. Save the report to a file or send it in an e-mail message:

    To save the report to a file:

    1. Select the Save To check box.

    2. Click the browse button beside the Save To field.

    3. Type a destination folder path using either a local drive letter or a UNC path for a network share.

    4. If the folder is located on a network share that requires authentication, then type the network share user name and password.

    5. Click OK.

    To send the report in an e-mail message:

    1. Select the Email To check box .

    2. Click the browse button beside the Email To field.

    3. Edit the fields of the e-mail message as necessary, and then click OK.

  7. If additional query parameters are available for the selected report, then click Additional Parameters to specify values for those parameters. If no additional parameters are available, then the button is disabled.

    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.
  8. Click Run Report.

    The report is displayed in a new window and may be saved to a file or sent in an e-mail message.

    Notes:

    • Only summary reports are supported. Even if a custom report has a detail section defined, the section is not displayed. If a custom report does not have a summary section, then the finished report is blank.
    • Pop-ups must be allowed for LMC in your Web browser to view reports.
    • Adobe Reader is required to view PDF reports.

Scheduling a report

Note: It is recommended to run reports during off-peak usage times to avoid affecting system performance.
  1. Click the System tab.

  2. Select Schedule from the System list.

  3. Click Add > Report.

    Note: Some solutions may include a script that runs a report with a predetermined configuration which can be scheduled like any other script. Additionally, reports that run through a script can be run separately for each server in the system. For more information, contact the developer of your solution.
  4. Type a description for the task, and then click Next.

  5. Select and configure the scheduled report:

    1. Select a report from the Available Reports list.

    2. Select a reporting period.

    3. Select an output format from the Output Format drop-down menu.

      Note: Each report has a default selection for Output Format, which may be the format that the report was specifically designed to use. For more information about a custom report, contact the designer of your custom report.
    4. Save the report to a file or send it in an e-mail message:

      To save the report to a file:

      1. Select the Save To check box.

      2. Click the browse button beside the Save To field.

      3. Type a destination folder path using either a local drive letter or a UNC path for a network share.

      4. If the folder is located on a network share that requires authentication, then type the network share user name and password.

      5. Click OK.

      To send the report in an e-mail message:

      1. Select the Save To check box..

      2. Click the browse button beside the Email To field.

    5. If additional query parameters are available for the selected report, then click Additional Parameters to specify values for those parameters. If no additional parameters are available, then the button is disabled.

  6. Click Next.

  7. Enter a start date and a start time.

  8. Configure the frequency of the scheduled event, and then click Finish.

Using built-in reports

Built-in reports are available to display commonly used data. All built-in reports are designed for PDF output, except for those that specify CSV in the report title.

Adding a report

Note: Only summary reports are supported. Even if a custom report has a detail section defined, the section will not be displayed. If a custom report does not have a summary section, then any reports generated from the custom report will be blank.
  1. Click the System tab.

  2. Click Reports in the System list.

  3. Upload the report files:

    1. Click Upload Report Files > Browse.

    2. Select a .jasper compiled report file, as well as any of the following:

      • .jasper compiled report files used as subreports

      • .jpg or .png graphics included in the report

      • .jrxml report source files (optional)

    3. Click Open.

    4. Existing files are overwritten by default. If you do not want to overwrite existing files, then clear the Overwrite if file already exists check box.

    5. Click Upload.

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

  4. Below the Available Reports list, click Add.

  5. Type a descriptive report name.

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

  7. Select the database the report was designed to access from the Datasource drop-down menu. Commonly used databases include:

    • MONITOR—This is used by reports that access the jobs list and the log.

    • SOLUTIONINFO—This is used by some solutions to store custom data.

    For more information about a custom report, contact the designer of your custom report.

  8. Select the default output format.

    Note: Each report has a default selection for output format, which may be the format that the report was specifically designed to use. For more information about a custom report, contact the designer of your custom report.
  9. Click Save.

Editing report settings

  1. Click the System tab.

  2. Click Reports in the System list.

  3. Select a report from the Available Reports list, and then click Edit.

  4. Edit the report settings as necessary:

    • Type a descriptive report name.

    • Select the Jasper report file name for a compiled report that has been uploaded to the system.

    • Select the data source.

    • Select the default output format.

      Note: Each report has a default selection for output format, which may be the format the report was specifically designed to use. For more information about a custom report, contact the designer of your custom report.
  5. Click Save.

Removing a report

To remove a report, select a report from the Available Reports list, and then click Delete.

Note: Removing a report automatically removes any associated scheduled report tasks. However, any scheduled script tasks that use the report are not detected and must be removed manually.

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

Configuring default report options

You can configure default report options, such as default e-mail or file destination and default reporting period.

Select the Reports service from the Services tab.

Clicking Refresh Defaults while configuring a report returns settings to defaults.

Creating custom reports

LDD uses JasperReports for custom reports. You can create custom reports using the open source application iReport 3.5.2, available from http://jasperforge.org/ireport. For more information about overall report design, see the documentation for iReport.

Note: Only summary reports are supported. Even if a custom report has a detail section defined, the section will not be displayed. If a custom report does not have a summary section, any reports generated from the custom report will be blank.

Using special LDD parameters

You can add the following parameters to the report design in order to use the specified information in other parts of the report:

Note: Additional parameters can only be added when a report is developed and uploaded with a solution using the SDK. 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 as follows:

Information that appears in the log is available from the TASK_LOG table in the MONITOR database. It contains the following fields:

Information from the Jobs list is available from the TASK_INFO table in the MONITOR database. It contains the following fields:

Using included subreports

Some subreports included may be useful in developing other custom reports. Since these files are included with the installation, they do not have to be uploaded before adding a form that includes any of them.

When using a subreport in a custom report, you must pass the start_date, end_date, and SUBREPORT_DIR to the subreport using the Parameters property of the subreport element.

File name

Page orientation

Description

_portrait_title.jasper

Portrait

Displays 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

Displays 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

Displays a message indicating that no data was found within the selected period for use as a No Data node in a report

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

_landscape_no_data_message.jasper

Landscape

_Printers_Least_Used

Either

Displays the printers least used to submit jobs

_Printer_Models_Most_Used

Either

Displays the printer models most used to submit jobs

_Printers_Most_Used

Either

Displays the printers most used to submit jobs

_Server_Stats

Either

Displays a breakdown of job types run on a server

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

_Servers_Most_Used

Either

Displays the servers that have processed the most jobs

_SoftwareClients_Most_Used

Either

Displays the software clients most used to submit jobs

_Solution_Profile_Most_Used

Either

Displays the solution profiles most used for submitted jobs

_Solution_Profile_Printers

Either

Displays the printers from where the most jobs are submitted for each profile

_Solution_Profile_Scheduled_Scripts

Either

Displays the solution profiles most often run by scheduled tasks

_Solution_Profile_SoftwareClients

Either

Displays the software clients from where the most jobs are submitted for each profiles

_Solution_Profile_Users

Either

Displays the users who most often submit jobs for each profile

_Solutions_Most_Used

Either

Displays the solutions most used for submitted jobs

_Task_Most_Run

Either

Displays the most frequently run tasks

_Users_Most_Active

Either

Displays the users who have submitted the most jobs

_Users_Most_Cancellations

Either

Displays the users who have canceled the most jobs

_Users_Printers

Either

Displays the users who most often submit jobs for each printer

_Users_SoftwareClients

Either

Displays the users who most often submit jobs from each software client