RTC Report Landscape Format without Printer Settings.
Hi all,
In Case of Report Development in Landscape Format, it was behaving wired. In need to select the printer orientation from the printer settings.
But later on i thought about the same and started searching on the web. Then From MSDN i found out that if the report settings in RDLC are done correctly then we don't need to change the printer settings everytime.
How Printed Report Settings Are Determined
IF The settings in the Report Properties dialog box on the layout of the report specify a standard paper size, Then the settings in the Report Properties dialog box on the RDLC layout but is overridden if you change the settings in the Print dialog box.
For more info, you can read the whole article from here.
For Standard Lanscape Page Size these are the setting for RDLC Reports.
Interactive 8.5in, 11in
Margin 1.5cm, 0in, 2cm, 2cm
Page Size 29.7cm, 21cm
Body Size 27.29206cm, 9.16692cm
I hope this issue was faced by most of developers.
Hi all Just a update in same post. The above method works only in NAV 2009 R2 and later. For Printing Report in Landscape Format in NAV 2009 SP1, just apply the hotfix before using above technique.
The hotfix is available for NAV 2009 SP1 here.
Thanks & Regards,
Saurav Dhyani