sparvizkhani Posted May 30, 2017 Share Posted May 30, 2017 HiI use jasperDesign libraray to create Report Dynamically by java code.sometimes I get this Error "The column and the margins do not fit the page with"But when I open this report in Ireport disigner and add report's width only one pix then it works.What must I do to solve it Link to comment Share on other sites More sharing options...
sparvizkhani Posted May 30, 2017 Author Share Posted May 30, 2017 every elemnts in repot are placed truely and their margins and their whidth are not more than report's whidth and margins.this error hapend some times and some times it woks truely. Link to comment Share on other sites More sharing options...
hozawa Posted May 31, 2017 Share Posted May 31, 2017 Not sure what you're asking but if the report width is less than 1 pixel from the element in the report, you can increase the size of the report by 1 pixel or decrease the width of the element by 1 pixel. Link to comment Share on other sites More sharing options...
sparvizkhani Posted May 31, 2017 Author Share Posted May 31, 2017 But every Element's size are correct and some of their size are less then report's width.I get this Error sometimes for report's that created dinamically by JasperDisign Library.not in IReport Designer Directly.but when I open that created reports in IReport Designer and add only one pix for example to Report's width,Then it works. Link to comment Share on other sites More sharing options...
sparvizkhani Posted May 31, 2017 Author Share Posted May 31, 2017 I think it is a bug for jasper Library.is there any way to fix it??? 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