Publishing to the file system properties
When scheduling reports via URL, the publishing to the file system properties are as follows:
- jrs.rst_dir
Constant: jet.cs.util.APIConst.TAG_RST_DIR
Description: Specifies the path for the published JReport result file.
Possible values: /publish_site
- jrs.rst
Constant: jet.cs.util.APIConst.TAG_RST
Description: Specifies the result filename for the published JReport result file.
Possible values: EmployeeInformation.rst
- jrs.html_dir
Constant: jet.cs.util.APIConst.TAG_HTML_DIR
Description: Specifies the path for the published HTML file.
Possible values: /publish_site
- jrs.html
Constant: jet.cs.util.APIConst.TAG_HTML
Description: Specifies the file name for the published HTML file.
Possible values: EmployeeInformation.htm
- jrs.is_dhtml
Constant: APIConst.TAG_IS_DHTML
Description: Specifies to generate a TOC (To HTML).
Possible values: {true, false}. The default is false.
- jrs.is_multi_files
Constant: jet.cs.util.APIConst.TAG_IS_MULTI_FILES
Description: Specifies whether HTML is generated to a single or to multiple files (To HTML).
Possible values: {true, false}. The default is true.
- jrs.is_applet_chart
Constant: jet.cs.util.APIConst.TAG_IS_CHART_APPLET
Description: Specifies that the chart in HTML file is an applet (To HTML).
Possible values: {true, false}. The default is true.
- jrs.has_hyperlink
Constant: jet.cs.util.APIConst.TAG_HAS_HYPERLINK
Description: Specifies to generate hyperlinks in the HTML file (To HTML).
Possible values: {true, false}. The default is true.
- jrs.has_page_number
Constant: jet.cs.util.APIConst.TAG_HAS_PAGE_NUMBER
Description: Specifies to generate page numbers (To HTML).
Possible values: {true, false}. The default is true.
- jrs.use_table
Constant: jet.cs.util.APIConst.TAG_USE_TABLE
Description: Specifies to use the HTML table to generate the HTML page (To HTML).
Possible values: {true, false}. The default is false
- jrs.relative_font_size
Constant: jet.cs.util.APIConst.TAG_RELATIVE_FONT_SIZE
Description: Specifies to generate HTML pages with a relative font size (To HTML).
Possible values: {true, false}. The default is false.
- jrs.drilldown
Constant: jet.cs.util.APIConst.TAG_DRILLDOWN
Description: Specifies to drilldown on the HTML page (To HTML).
Possible values: {true, false}. The default is false.
- jrs.no_margin_html
Constant: jet.cs.util.APIConst.TAG_NO_MARGIN_HTML
Description: Specifies that there is no margin in the HTML page (To HTML).
Possible values: {true, false}. The default is false.
- jrs.web_browser
Constant: jet.cs.util.APIConst.TAG_WEB_BROWSER
Description: Specifies which web browser to generate the HTML pages for (To HTML).
Possible values: {0, 1}. 0 - IE or Chrome, 1 - Firefox. The default is 0.
- jrs.pdf_dir
Constant: jet.cs.util.APIConst.TAG_PDF_DIR
Description: Specifies the path of the published PDF file.
Possible values: /publish_site
- jrs.pdf
Constant: jet.cs.util.APIConst.TAG_PDF
Description: Specifies the file name of the published PDF file.
Possible values: EmployeeInformation.rst
- jrs.no_margin_pdf
Constant: jet.cs.util.APIConst.TAG_NO_MARGIN_PDF
Description: Specifies to display no margin (To PDF).
Possible values: {true, false}. The default is false.
- jrs.compress_image_pdf
Constant: jet.cs.util.APIConst.TAG_COMPRESS_IMAGE_PDF
Description: Specifies the compression ratio of the image in the report (To PDF).
Possible values: 1 to 100. The default is 20.
- jrs.print_mode_pdf
Constant: jet.cs.util.APIConst.TAG_PRINT_MODE_PDF
Description: Specifies whether to use Generate charts and barcodes using images (recommended) (false) or Generate charts and barcodes using vector graphics (true) (To PDF). By checking Generate charts and barcodes using vector graphics, the exporting speed is much improved.
Possible values: {true, false}. The default is false.
- jrs.text_dir
Constant: jet.cs.util.APIConst.TAG_TEXT_DIR
Description: Specifies the path of the published TXT file.
Possible values: /publish_site
- jrs.text
Constant: jet.cs.util.APIConst.TAG_TEXT
Description: Specifies the file name of the published TXT file.
Possible values: EmployeeInformation.txt
- jrs.is_norm_txt
Constant: jet.cs.util.APIConst.TAG_IS_NORMAL_TEXT
Description: Specifies whether this text file is in Delimited Format or not (To TEXT). When it is set to false, the output format is Delimited Format.
Possible values: {true, false} The default is true.
- jrs.is_text_delimiter
Constant: jet.cs.util.APIConst.TAG_TEXT_IS_DELIMITER
Description: Specify a delimiter to separate fields (To TEXT).
Possible values: It has three values:
- jrs.delimiter
Constant: jet.cs.util.APIConst.TAG_DELIMITER
Description: If jrs.is_text_delimiter=jrs.delimiter, you can use jrs.delimiter to specify a delimiter character, for example, jrs.delimiter=','.
Possible values: A user defined delimiter.
- jrs.is_tab
Constant: jet.cs.util.APIConst.TAG_IS_TAB
Description: Uses a Tab delimiter to separate the fields.
- jrs.is_csv
Constant: jet.cs.util.APIConst.TAG_IS_CSV
Description: Exports to the CSV format text file.
- jrs.is_repeat
Constant: jet.cs.util.APIConst.TAG_IS_REPEAT
Description: Specifies whether the same content is repeated (To TEXT).
Possible values: {true, false}. The default is false.
- jrs.udchar_width
Constant: jet.cs.util.APIConst.TAG_CHAR_WIDTH
Description: Specifies the user defined width. It would be given up if the value is 0 or less than 0 (To TEXT).
- jrs.udchar_height
Constant: jet.cs.util.APIConst.TAG_CHAR_HEIGHT
Description: Specifies the user defined height. It would be given up if the value is 0 or less than 0 (To TEXT).
- jrs.is_quotemark
Constant: jet.cs.util.APIConst.TAG_IS_QUOTEMARK
Description: Specifies that quotation marks should be placed in the published text file.
Possible values: {true, false}. The default is true.
- jrs.hasHeadFoot
Constant: jet.cs.util.APIConst.TAG_HASHEADFOOT
Description: Specifies to generate the page header or footer (To TEXT).
Possible values: {true, false}. The default is true.
- jrs.txt_compress
Constant: jet.cs.util.APIConst.TAG_TXT_COMPRESS
Description: Specifies to compress the published text file.
Possible values: {true, false}. The default is false.
- jrs.excel_dir
Constant: jet.cs.util.APIConst.TAG_EXCEL_DIR
Description: Specifies the path of the published Excel file.
Possible values: /publish_site
- jrs.excel
Constant: jet.cs.util.APIConst.TAG_EXCEL
Description: Specifies the file name of the published Excel file.
Possible values: EmployeeInformation.rst
- jrs.ps_dir
Constant: jet.cs.util.APIConst.TAG_PS_DIR
Description: Specifies the path of the published PostScript file.
Possible values: /publish_site
- jrs.ps
Constant: jet.cs.util.APIConst.TAG_PS
Description: Specifies the result file name of the published PostScript file.
Possible values: EmployeeInformation.rst
- jrs.no_margin_ps
Constant: jet.cs.util.APIConst.TAG_NO_MARGIN_PS
Description: Specifies that no margins are included (To PostScript).
Possible values: {true, false}. The default is false.
- jrs.rtf_dir
Constant: jet.cs.util.APIConst.TAG_PS_DIR
Description: Specifies the path for publishing to Rich Text Format.
Possible values: /publish_site
- jrs.rtf
Constant: jet.cs.util.APIConst.TAG_RTF
Description: Specifies the result file name for publishing to Rich Text Format.
Possible values: EmployeeInformation.rst
- jrs.no_margin_rtf
Constant: jet.cs.util.APIConst.TAG_NO_MARGIN_RTF
Description: Specifies that no margins are included (To Rich Text Format).
Possible values: {true, false}. The default is false.
- jrs.xml_dir
Constant: jet.cs.util.APIConst.TAG_XML_DIR
Description: Specifies the path for publishing to XML file.
Possible values: /publish_site
- jrs.xml
Constant: jet.cs.util.APIConst.TAG_XML
Description: Specifies the result file name for publishing to XML file.
Possible values: EmployeeInformation.xml
- jrs.is_only_data
Constant: jet.cs.util.APIConst.TAG_IS_ONLY_DATA
Description: Specifies to contain only data in the published XML file.
Possible values: {true, false}. The default is false.
- jrs.to_disk
Constant: jet.cs.util.APIConst.TAG_TO_DISK
Description: Specifies that the report is scheduled for publishing to disk.
Possible values: {true, false}
- jrs.to_disk_???_path_type
??? specifies the format of the published report. For example, HTML or PDF. See the example below.
- jrs.to_disk_pdf_path_type
Constant: jet.cs.util.APIConst.TAG_TO_DISK_PDF_PATH_TYPE
Description: Specifies whether to schedule the report for publishing to a real disk path or to the JReport Server resource path in PDF format.
Possible values: {0, 1}. 0 - publish to the JReport Server resource path, 1 - publishing to a real disk path
Examples
Example 1: Publish a report to a real disk path in PDF format
http://localhost:8888/jinfonet/submitSchedPage.jsp?jrs.cmd=jrs.submit_schedule&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.report=%2fSampleReports%2fEmployeeInformation.cls&jrs.task_class=jet.server.schedule.jrtasks.PublishRptTask&jrs.to_disk=true&jrs.to_disk_pdf_path_type=1&jrs.result_type=2&jrs.auth_uid=admin&jrs.auth_pwd=admin&jrs.pdf_dir=d:\&jrs.pdf=abc.pdf&jrs.to_pdf=true
Example 2: Publish a report to a real disk path in TXT format
http://localhost:8888/jrserver?jrs.cmd=jrs.submit_schedule&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.report=%2fSampleReports%2fEmployeeInformation.cls&jrs.task_class=jet.server.schedule.jrtasks.PublishRptTask&jrs.to_disk=true&jrs.to_disk_text_path_type=1&jrs.result_type=3&jrs.auth_uid=admin&jrs.auth_pwd=admin&jrs.text_dir=d:\&jrs.text=abc.txt&jrs.to_text=true