I'm setting my target paper size to pagesizes.legal but it's not doing it so it's chopping off columns but if it built it in legal it would not chop off those columns.
With dExporter .DownloadName = strFullReportName .Format = Infragistics.Documents.Reports.Report.FileFormat.PDF .EnableStylesExport = True .DataExportMode = DataExportMode.AllDataInDataSource .TargetPaperOrientation = Infragistics.Documents.Reports.Report.PageOrientation.Landscape .Margins = PageMargins.Narrow .TargetPaperSize = PageSizes.Legal .Export(gridAsset, r, s1) End With
Hello lrri,
I have received your post and am looking into your inquiry. I will have an update for you on this, on or before Monday.
Thanks!
From your settings I am not seeing anything of note that looks off or missing. I did a test on my side and find that the grid exports to legal size. For assurance, my settings are as follows:
<ig:WebDocumentExporter ID="WebDocumentExporter1" runat="server"
DataExportMode="AllDataInDataSource" DownloadName="ExportTest"
TargetPaperOrientation="Landscape" TargetPaperSize="Legal">
</ig:WebDocumentExporter>
Let me know if there are any differences from yours.
I attached my full sample for your reference.
So I took the lines out of my code as shown above and added the options right to the tag in the aspx page as you have shown, and absolutely no difference. When I go into adobe printer preferences, it is set to letter.
Hi lrri,
I took another look at this. Yes, I agree that the despite the page layout and orientation set on the exporter, which properly sets the layout and orientation of the exported document, the printer settings are not getting picked-up.
I have created a private support case for you for this issue and will follow-up with you on the support case.
Thank you!