The grid I want to print has a lot of columns. I use SCALE mode to print the grid.
Here is the code snippet for creating the Report object:
myReport =
New Report() myReport.ReportSettings.HorizontalPaginationMode =
myReport.ReportSettings.HorizontalPaginationMode =
HorizontalPaginationMode.Scale myReport.ReportSettings.PageOrientation =
myReport.ReportSettings.PageOrientation =
PageOrientation.Landscape myReport.ReportSettings.PageSize =??? 'I tried various size here. myReport.Print( True, True)
myReport.ReportSettings.PageSize =??? 'I tried various size here.
myReport.Print(
True, True)
I tried different sizes for page size, but the generated report was always scaled to the Letter paper size. When I chose the paper size from the Print Dialog to papers larger than Letter, e.g. Legal, the printed area was still restricted to the Letter size, and I ended up a big margin in a large paper.
I just wonder if I miss anyting and how I can make printing XamDataGrid respect the paper size setting.
My version of Infragistic is 11.1.2011
Thanks.
Hello brianshi,
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 103571. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
Please let me know if you need more information.
The service release containing the fix for your issue is out, you can download it from: https://www.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
I'd be glad to receive a feedback on the outcome.
I don't think this is fixed. I'm having the same issue. Printing anything always defaults to Letter. When printing on a 11x17 sheet of paper, the content is sized to letter resulting in large margins on the page. Setting the page size in code does nothing.
I tried v13.2 & 14.1
Hello,
Thank you for your post.
I have been looking into it. I created a sample application based on your scenario and I could not managed to reproduce the behavior that you have described. If you are not able to reproduce the issue with the attached sample application, would you please modify it with the functionality, that you are using, so it reproduces the issue. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.
Looking forward to hearing from you.