rvijaysubs Posted April 16, 2009 Share Posted April 16, 2009 Hi All,In my web application, I create a PDF at runtime and call the true);to print the PDF. It works great when deployed in Tomcat in Windows but fails when deployed in Linux. I searched the internet and foud few solution. First was to put java.awt.headless=true in catalina.sh but this gives the HeadlessException. Then I tried setting the DISPLAY but to no avail.Isn't there anything which can be done to show the Print dialog?Vijay.JasperPrintManager.printReport(jasperPrint, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now