#### Export panel

This panel allows you to configure the default settings for exporting report result in JReport Server. It is divided into three tabs:

- E-mail tab
- Fax tab
- Layout Precision tab

Save

Saves changes made in this panel. The changes will be applied the next time JReport Server starts.

##### E-mail tab

Configures the default settings for exporting report result to e-mail. See the tab.

The options available in this tab are as follows:

Default E-mail Format

Specifies how a published report is sent out by e-mail. The format can be any of the following:

- E-mail Result in HTML E-mail Format
  Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail body.
- E-mail Result in Plain Text E-mail Format
  Sends the report result via e-mail to the specified address in plain text format. The report result will be shown in plain text format in the mail body with no other information such as color, images and so on.
- Attachment in JReport Result Format
  Sends the report result via e-mail to the specified address with a JReport result file as attachment.
- Attachment in HTML Format
  Sends the report result via e-mail to the specified address with an HTML file as attachment.
- Attachment in PDF Format
  Sends the report result via e-mail to the specified address with a PDF file as attachment.
- Attachment in Excel Format
  Sends the report result via e-mail to the specified address with an Excel file as attachment.
- Attachment in Text Format
  Sends the report result via e-mail to the specified address with a Text file as attachment.
- Attachment in RTF Format
  Sends the report result via e-mail to the specified address with a RTF file as attachment.
- Attachment in XML Format
  Sends the report result via e-mail to the specified address with an XML file as attachment.
- Attachment in PostScript Format
  Sends the report result via e-mail to the specified address with a PostScript file as attachment.

Compress Attachment as Java Archive

Specifies whether or not to compress the mail attachment as Java Archive.

Maximum Split PDF File Size (KB)

Specifies in KB the largest size each PDF file could have after splitting.

Maximum Split PDF File Page

Specifies how many pages each PDF file could have at most after splitting.

If you choose to split a PDF file by file size, then how to split the PDF file depends on the following two aspects:

- The separated pages by the before-split PDF file
- The maximum file size specified for an after-split PDF file

Here the before-split PDF file refers to the big PDF file to be split and an after-split PDF refers to one of the smaller PDF files generated after splitting the big PDF file. When a PDF file is to be split by file size, the splitting will be carried out based on the pages the file separates but not physically on the maximum file size specified for an after-split PDF file. However, the maximum file size helps to decide by which page to split: the page that the maximum size comes to is not included with the previous pages in an after-split file, but instead is the beginning page of the following after-split file. For example, there is a 2M PDF file with 1M per page. If the maximum file size is set to 1.5M, we will get two PDF files with each 1M and one page as the split result.

Notes:

- When the before-split PDF file contains only one page, the split function will not take effect for the only one page cannot be further split either by file size or by file page, and therefore the result is one PDF file as attachment no matter the Split PDF feature is enabled or not.
- The Split PDF function takes effect only when the selected option value is greater than 0.
- If you check to use the Split PDF function, the TOC and Sign options are disabled when scheduling a report result to e-mail in PDF file attachment.

##### Fax tab

Configures the default settings for exporting report result to fax. You can specify to export the report result either via a fax machine or a fax server. See the tab.

Fax Machine

JReport supports exporting report result to fax. If you want to use this feature, you will need to configure your running environment first.

Download Java Communications API (Version 2.0) from the website http://www.jinfonet.com/download/third_party_tool/JavaCommAPIV2_Solaris.zip for Solaris and http://www.jinfonet.com/download/third_party_tool/JavaCommAPIV2_Win32.zip for Win32, and place the following files in the specified locations:

- For Windows:

  File Name | Location
  --- | ---
  comm.jar | `<server_install_root>\lib`
  javax.comm.properties | `<Java_install_root>\jre\lib`
  Win32Com.dll | `<Java_install_root>\jre\bin`

- For Solaris:

  File Name | Location
  --- | ---
  comm.jar | `<server_install_root>/lib`
  javax.comm.properties | `<Java_install_root>/jre/lib`
  libSolarisSerialParallel.so | `LD_LIBRARY_PATH`

The following are options available when Fax Machine is checked:

- Dialing
  Specifies the dialing mode for the fax modem. Options are: Pulse or Tone.
- Modem Class
  Specifies the class of the modem. Options are: Class 1, Class 2 or Class 2.0. All are fax protocols. Most modems only support Class 1, so if you select Class 2 or Class 2.0, you should make sure that your modem can support it.
- Flow Control
  Specifies the flow control mode between DTE (Data Terminal Equipment) and DCE (Data Circuit-terminating Equipment). Specifying flow control can help the compressing data function of the modem work better.

  The flow control options are as follows:

  - RtsCts
    Flow control of the hardware (recommended).
  - Xon/Xoff
    Flow control of the software.
  - None
    No flow control specified.
- Flow Control Command
  Specifies the flow control command according to the modem being used. If not contained in the drop-down list, you can leave this field empty and then enter the command as part of the initial string. The command should be obtained from your modem manual.
- Port
  Specifies the port number. The port should be obtained from your modem manual.
- Initialization String
  Initializes the modem. The string should be obtained from your modem manual.
- Timeout
  Specifies the maximum amount of time that the fax should wait for a response from the destination before timing out.
- Retries
  When the line is busy, the report result cannot be faxed. Here, you can specify the maximum number of times the modem re-tries faxing the report result.

Fax Server

If you choose to export the report result via a fax server, configure the following settings according to your requirements:

- Fax Gateway Connector
  Specifies the name of the class implemented by users.

  Note: By default, the fax server JReport uses is based on Hylafax Server, however, if you want to export your report result via Hylafax Server, you need to download the gnu-hylafax packages according to your requirements from http://sourceforge.net/projects/gnu-hylafax/, for example, gnu-hylafax-util-0.0.9.2.jar, gnu-inet-ftp-0.0.9.2.jar, and gnu-hylafax-0.0.9.2.jar, and then add them to the class path of setenv.bat in the ADDCLASSPATH variable.

- Server IP
  Specifies the IP address or domain name of the fax server.
- Server Port
  Specifies the port number of the fax server.
- Login ID
  Specifies the username for the class communicating with fax server.
- Password
  Specifies the password for the class communicating with fax server.
- Fax Sender
  Specifies the user's name that shows in the fax server manager.
- Special Parameters
  Specifies some parameters for the fax server.
- Time Out
  Specifies the maximum amount of time that the fax should wait for a response from the destination before timing out.

  Note: For Hylafax Server the value should not be larger than 59 seconds. It is a limitation of Hylafax Server.

- Retries
  Specifies the number of times the modem retries faxing the report result.

##### Layout Precision tab

Configures the precision level for different formats with which the report result will be exported. The settings of high/low precision take effect only in the report tabs whose Precision Sensitive property is set to true in the Report Inspector of JReport Designer. See the tab.

Customize for each format

In order for the predefined default precision for a format to take effect, you need also check the checkbox before the format. For formats that are not checked, JReport will decide their precision.

Note: The RSD format controls only the Page Report Result format in the Schedule dialog.

- System Default Settings
  Predefines the default precision for each format.

  - High
    If checked, the report result will be exported to the specified format with high precision.

  - Low
    If checked, the report result will be exported to the specified format with low precision.

Optimize for speed over visual effect

If checked, the report result will be exported with precision level decided by JReport.