Note |
---|
The content in this topic only applies to Microsoft Dynamics NAV 2009 SP1. For Microsoft Dynamics NAV 2009 content, see Developer and IT Pro Help for Microsoft Dynamics NAV 2009. Additionally, the content in this topic only applies to an installation that includes the hotfix that is described in Knowledge Base article 976646: A report is always printed in portrait orientation even though you set the Orientation property of the report to Landscape in Microsoft Dynamics NAV 2009 with Service Pack 1 installed. |
You can specify page settings and page orientation for a printed report from the following UI locations:
-
The Report Properties dialog box on the client report definition (RDLC) report layout in Visual Studio.
-
The Properties dialog box for the printer.
-
The Print dialog box that is displayed immediately before you print.
-
The Page Setup dialog box from the Print Preview page in the RoleTailored client.
The page settings that are used for the printed report depend on the mode in which you print the report.
You can use the following modes to print a report from the RoleTailored client:
-
Run a report that has the UseReqForm Property set to No, and therefore, does not display a request page.
-
Print a report from the request page without previewing the report.
-
Print a report from the Print Preview page.
Note The printer that you use determines how to handle the case in which the actual paper size in the printer is different from the page size that is specified.
Specifying Page Settings and Orientation
The following table describes how you access each of the dialog boxes in which you can specify page settings and orientation.
Print mode | To access the Report Properties dialog box | To access the Properties dialog box for the printer | To access the Print dialog box | To access the Page Setup dialog box |
---|---|---|---|---|
Run a report that does not have a request page |
When you design the report layout in Visual Studio, on the Report menu, click Report Properties. |
In Control Panel, double-click Printers. Right-click the selected printer, and then click Properties. |
Cannot access |
Cannot access |
Print a report from the request page without previewing |
When you design the report layout in Visual Studio, on the Report menu, click Report Properties. |
In Control Panel, double-click Printers. Right-click the selected printer, and then click Properties. |
On the request page, click Print. |
Cannot access |
View a preview of a report |
When you design the report layout in Visual Studio, on the Report menu, click Report Properties. |
In Control Panel, double-click Printers. Right-click the selected printer, and then click Properties. |
In the Print Preview window, click the Print icon. |
In the Print Preview window, click the Page Setup icon. |
How Printed Report Settings Are Determined
Because there are several locations in the UI where you can specify page settings and orientation, you should know how the settings are determined for a printed report. How the settings are determined depends on the mode that you use to print the report.
Printing a Report Without a Request Page
The following table describes the page settings and orientation that are used if you print a report that does not have a request page.
If | Then the printed report paper size and margins are determined by | And the printed report orientation is determined by |
---|---|---|
The settings in the Report Properties dialog box on the layout of the report specify a standard paper size |
The settings in the Report Properties dialog box on the RDLC layout |
The settings in the Properties dialog box for the printer. |
The settings in the Report Properties dialog box on the layout of the report specify a custom paper size |
The settings in the Properties dialog box for the printer |
The settings in the Properties dialog box for the printer. |
Printing a Report From the Request Page
The following table describes the page settings and orientation that are used if you print a report from the request page without previewing the report.
If | Then the printed report paper size and margins are determined by | And the printed report orientation is determined by |
---|---|---|
The settings in the Report Properties dialog box on the layout of the report specify a standard paper size |
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 |
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 |
The settings in the Report Properties dialog box on the layout of the report specify a custom paper size |
The settings in the Properties dialog box for the printer but is overridden if you change the settings in the Print dialog box |
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. |
Note |
---|
The values in the Print dialog box are initially set to the values from the Report Properties dialog box on the RDLC report layout. |
Printing a Report From the Print Preview Page
The following table describes the page settings and orientation that are used if you print a report from the Print Preview page.
If | Then the printed report paper size and margins are determined by | And the printed report orientation is determined by |
---|---|---|
The settings in the Report Properties dialog box on the layout of the report specify a standard paper size |
The settings in the Report Properties dialog box on the RDLC layout but is overridden if you change the settings in the Page Setup dialog box |
The paper size settings in the Report Properties dialog box on the RDLC layout but is overridden if you change the settings in the Page Setup dialog box. |
The settings in the Report Properties dialog box on the layout of the report specify a custom paper size |
The settings in the Report Properties dialog box on the RDLC layout but is overridden if you change the settings in the Page Setup dialog box |
The paper size settings in the Report Properties dialog box on the RDLC layout but is overridden if you change the settings in the Page Setup dialog box. |
Note |
---|
The values in the Page Setup dialog box are initially set to the values from the Report Properties dialog box on the RDLC report layout. |