Hey guys,
I'm trying to print a report in Perspective, but I'm getting the error below:
14:25:40.581 [AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil - Attempted Action could not complete.
ERROR: Could not print report to primary printerjava.awt.print.PrinterIOException
Caused by: java.io.IOException: Cannot run program "/usr/bin/lpr": error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.Runtime.exec(Unknown Source)
at java.base/java.lang.Runtime.exec(Unknown Source)
... 63 common frames omitted
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.(Unknown Source)
My gateway is installed on Ubuntu server. The network printer is installed properly using CUPS service. I can print a local file with no issues. I also see the printer in the report.
Any idea why it's not running CUPS to print the report?
Thanks!