A question I got asked recently when I was delivering the Report Design for Dynamics NAV 2009 training was about the print settings for reports. When you print a report and you have specified print and layout settings in the RDLC layout, you can also specify print and layout setting in the request page and in the printer properties of the selected printer and in the print layout view of the report viewer. So then, which print settings will get priority ?
My answer was, "Well that depends." J
Recently Microsoft has updated the Dyamics NAV 2009 C/Side reference guide and some extra information about this subject was added to the documentation. So I thought I would share this information here.
First of all, where can you specify print and/or layout settings for report(s) in Dynamics NAV 2009 ?
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.
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
- Printing a Report Without 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
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. |
- Printing 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. |
For more information you can visit the Microsoft Dynamics NAV Documentation online: http://msdn.microsoft.com/en-us/library/ff477105(v=NAV.60).aspx
No matter if I learned a lot here, the knowledge about the window, I think these later on in life for me will be very helpful
Posted by: free shipping china | 12/04/2011 at 19:03