logo
24.2
search
No matching documents found.
list
search
No matching documents found.
logo

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