Jump to content

printDialog in Linux


rvijaysubs

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...