2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Jordi Moltó - jordim Bad margin in page dialog 2006-03-16 02:08When exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.TRUE); exporter.exportReport(); if landscape, the printer dialog shows an erroneous left margin, taking value 88.62 when probably it would show 8.62 ??? I am working with HP Laserjet 4050 series PCL driver and Windows XP Some idea? Thanks By: Teodor Danciu - teodord RE: Bad margin in page dialog 2006-03-16 02:52 Hi, Do you have a chart in your report? http://sourceforge.net/tracker/index.php?func=detail&aid=1359230&group_id=36382&atid=416703 Thank you, Teodor By: Jordi Moltó - jordim RE: Bad margin in page dialog 2006-03-17 01:45No,is a tabular report in landscape page, with subreport inside in landscape too. By: Lucian Chirita - lucianc RE: Bad margin in page dialog 2006-03-17 02:08I take it that your are using JRPrintServiceExporter and setting the orientation request attribute to landscape yourself. JRPrintServiceExporter has been changed on CVS to automatically set the orientation print attribute based on the report orientation. This involved also changing the printable area size for landscape reports. I suspect that this is the cause of the wrong print margin in your case. Take a look at JRPrintServiceExporter.java rev 1.26 from CVS. Regards, Lucian 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