I have a problem with CrystalReportViewer in ASP.NET VS 2005.
I have a Landscape report, I display it using CrystalReportViewer and it is shown correct.
Then I click a standard print button on the toolbar and a default page orientation is Portrait.
Customers click print button straight and then a Landscape orientated report is printed wrong.
It looks like CrystalReportViewer doesn't read PageOrientation from ReportDocument.
This happens when Print Mode is ActiveX. PDF is not an option because customers are not happy with an additional step.
I tried changing the Report Document pageorientation..but it opens a popup showing a PDF view of the report and again i have to click print button the new window to get it printed .
Rupesh Bhati...
Member
24 Points
52 Posts
How to change Default Page Orientation of Crystal Report Viewer thorugh asp.net 2.0 code
Apr 16, 2009 06:39 AM|LINK
Hi,
I have a problem with CrystalReportViewer in ASP.NET VS 2005.
I have a Landscape report, I display it using CrystalReportViewer and it is shown correct.
Then I click a standard print button on the toolbar and a default page orientation is Portrait.
Customers click print button straight and then a Landscape orientated report is printed wrong.
It looks like CrystalReportViewer doesn't read PageOrientation from ReportDocument.
This happens when Print Mode is ActiveX. PDF is not an option because customers are not happy with an additional step.
I tried changing the Report Document pageorientation..but it opens a popup showing a PDF view of the report and again i have to click print button the new window to get it printed .
myRpt.PrintOptions.PaperOrientation = PaperOrientation.Landscape
We do not want any additional step to print a report...it shud happen using default print button of crystal report viewer......
I just need to know how to change the default orientation so that reports are printed in the manner in which they are designed......
Any help will b highly appreciated
Thanks & Regards,
Rupesh Bhatia
avib007
Member
2 Points
1 Post
Re: How to change Default Page Orientation of Crystal Report Viewer thorugh asp.net 2.0 code
Nov 06, 2009 09:36 PM|LINK
Hi,
I am facing the same problem, do you have any solution for this?
Thanks
sajidunia
Member
2 Points
1 Post
Re: How to change Default Page Orientation of Crystal Report Viewer thorugh asp.net 2.0 code
Nov 11, 2010 11:13 AM|LINK
Hello friends,
have you found a solution to the problem? I am aslo facing same problem and I am unable to find a solution after so much googling around...:(
I am also using VS2005 and inbuilt Crystal Reports and I cant print a report with pagesize A4 in landscape
If theres anything that can help me pls do let me know......
Thanks in advance.