logo
22.1
search
No matching documents found.
list
search
No matching documents found.
logo
Please be aware that there is newer version of documentation available for Webswing. Documentation 24.2

How to enable Jasper Reports Printing on Linux

Expected Behavior

Jasper Reports can be printed on Linux.

Solution

Under Unix type OS deployment Jasper Reports are looking for jasperreports.properties file for the configuration purposes.

The path to file can be specified by adding a System Property of the application's VM args like in following example: -Dnet.sf.jasperreports.properties=${webswing.rootDir}/apps/WebswingDemo/jasperreports.properties

Following content has to be in the jasperreports.properties file: net.sf.jasperreports.awt.check.available.printers=false