Hi there!
I have a really strange problem with my report viewing from the web: The reports truncate and though I have BestFitPage=true my reports keep getting the ASPNET process DefaultPrinter's size??!? (i.e Truncated as a Letter, rather than A4).
I Have tried to set
reportDocument.PrintOptions.PaperSize = PaperSize.A4
(and the .PrinterName) but this seems to only work for reports where
the Orientation (landscape or portrait) in the report is set to the same as the printer i specify.
Since I dynamically load reports from a folder
(reportDocument.Load(...) ) I dont know the size of the report,
and cannot manually set landscape, margins, PageContentHeight, ...
What should I do? How do I explain to the report that it should IGNORE
the defaultprinter, and just use a A4 papersize (also not caring about Orientation).
Oh, yeah. I'm using CrystalReportViewer 9.1.5000 (vstudio 2003)
on Win2000 sp4. I have a total of 4 reports, 2 in Landscape, 2 in Portrate. I load them from Folder, set logonproperties and report-parameters, and display it a ASP.NET page (with
vb.net codebehind).
I've never enabled printing from web for SYSTEM, as suggested from CrystalReports KB, since I rather export the report to PDF instead.
Regards, Binnot