I have developed a crystal report and ***-viewer.jsp. The crystal report is set to use A3 page size.
After deployed to the web application, it's keeping as A4 page size.
So my crystal report content is cut.
I have try to add this code:
crystalReportPageViewer.setBestFitPage(true);
crystalReportPageViewer.setPrintMode(CrPrintMode.fromString("PDF"));
However, it doesn't take any effect to fit the content to page correctly.
And it's not displaying as PDF mode. That is also strange.
It's still showing in page viewer.