> For the complete documentation index, see [llms.txt](https://docs.servoy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.servoy.com/guides/develop/programming-guide/jasperreports/output_format.md).

# Output format

## Overview

The `OUTPUT_FORMAT` class defines constants for various JasperReports export formats, including PDF, HTML, XML, XLS, CSV, and JSON. These constants enable developers to specify the desired output format when generating reports in Servoy.

## Constants Summarized

| Type                                                     | Name                             | Summary |
| -------------------------------------------------------- | -------------------------------- | ------- |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [CSV](#csv)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [CSV\_METADATA](#csv_metadata)   |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [DOCX](#docx)                    |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [EXCEL](#excel)                  |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [HTML](#html)                    |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [JRPRINT](#jrprint)              |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [JSON\_METADATA](#json_metadata) |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [ODS](#ods)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [ODT](#odt)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [PDF](#pdf)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [PRINT](#print)                  |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [RTF](#rtf)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [TXT](#txt)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [VIEW](#view)                    |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [XHTML](#xhtml)                  |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [XLS](#xls)                      |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [XLSX](#xlsx)                    |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [XLS\_1\_SHEET](#xls_1_sheet)    |         |
| [String](/reference/servoycore/dev-api/js-lib/string.md) | [XML](#xml)                      |         |

## Constants Detailed

### CSV

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### CSV\_METADATA

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### DOCX

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### EXCEL

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### HTML

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### JRPRINT

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### JSON\_METADATA

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### ODS

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### ODT

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### PDF

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### PRINT

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### RTF

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### TXT

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### VIEW

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### XHTML

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### XLS

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### XLSX

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### XLS\_1\_SHEET

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

### XML

**Type**\
[String](/reference/servoycore/dev-api/js-lib/string.md)

**Sample**

```js
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.XHTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.html',OUTPUT_FORMAT.HTML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.rtf',OUTPUT_FORMAT.RTF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.txt',OUTPUT_FORMAT.TXT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xml',OUTPUT_FORMAT.XML,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.pdf',OUTPUT_FORMAT.PDF,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.XLS_1_SHEET,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xlsx',OUTPUT_FORMAT.XLSX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.xls',OUTPUT_FORMAT.EXCEL,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.odt',OUTPUT_FORMAT.ODT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.ods',OUTPUT_FORMAT.ODS,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.docx',OUTPUT_FORMAT.DOCX,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.json',OUTPUT_FORMAT.JSON,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.csv',OUTPUT_FORMAT.CSV_METADATA,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml','c:/myReport.jrprint',OUTPUT_FORMAT.JRPRINT,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.VIEW,null);
//plugins.jasperReports.runReport(myServer,'myCustomerReport.jrxml',null,OUTPUT_FORMAT.PRINT,null);
```

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.servoy.com/guides/develop/programming-guide/jasperreports/output_format.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
