Configure InterSystems IRIS with the full pathname of the command file that invokes the rendering tool. For XEP or FOP on Windows or UNIX®, once you have installed the tool as instructed in Step 1, this command file is present on your system under the installation directory for the tool, for example C:\fop-0.95\fop.bat for Windows or /fop-0.95/fop on UNIX®.
To perform this configuration, navigate to System Administration > Configuration > Report Servers > Settings, and make the following changes:
-
Path and File Name For PDF Generation: — Enter the path to the executable file. Click Browse to locate and select the command file.
-
Foxit / Adobe Path for Pdfprint: — Ignore this field.
-
Configuration File For PDF Rendering Engine: — This field is optional. Select Use or None. If you select Use, enter the path to the FOP configuration file. If you do not specify a FOP configuration file, the FOP renderer uses the configuration file supplied with the built-in FOP.
Do not enter a path in this field if you are using an XEP renderer. The XEP renderer truncates any file specified here to 0 length. Click Browse to locate and select the configuration file.
You can create custom configuration files as described by the tool provider’s Web site. To provide XEP with a custom configuration file, you need to follow the manual for XEP.
-
Default HotJVM Render Server Port — Enter the port number where the HotJVM Render Server is running.
-
Verify Now — Click this button to test whether or not the rendering tool is configured correctly.
Alternatively, start the Terminal and set the corresponding global nodes. For example, to set the renderer executable:
Set ^%SYS("zenreport","transformerpath")="/Applications/fop-0.95/fop.bat"
Similarly, to set the configuration file, set ^%SYS("zenreport","transformerconfig") to the path of the configuration file.