PaperSourceFirstPage, PaperSourceOtherPages, PAPERSOURCE
elwin68
Member Posts: 153
Hello,
I struggled quite a while using PaperSourceFirstPage, PaperSourceOtherPages and PAPERSOURCE and I have used forums a lot. But it is still not working ok.
The situation:
- When printing a document (f.e. order confirmation) we want to print the first page from Tray 1 and all the other pages must be printed from Tray 2.
- Different printers are defined in the network.
Solution 1: Using the properties PaperSourceFirstPage and PaperSourceOtherPages.
If the printer with trays is set as default everything is printed from the right tray.
If another printer is set as default and the printer with trays is selected (in the printer dialog) all pages are printed only from the default tray.
My conclusion: Using the above properties is only working ok if the printer with trays is set as default?
Solution 2: Using the command CurrReport.PAPERSOURCE in the OnAfterGetRecord trigger.
It is not necessary now to set the printer as default but it's not always working ok if using different body sections with 1 dataitem. F.e. Body 1 and 2 are printed on page 1 and body 3 is printed at page 2. Putting the command CurrReport.PAPERSOURCE in the OnPreSection is not working.
My conclusion: The problem from solution 1 is solved but the tray selection is not working properly because of the different body sections.
I hope it is a clear explanation.
Are my conclusions ok and is there a solutions for this problem?
Thanks in advance.
I struggled quite a while using PaperSourceFirstPage, PaperSourceOtherPages and PAPERSOURCE and I have used forums a lot. But it is still not working ok.
The situation:
- When printing a document (f.e. order confirmation) we want to print the first page from Tray 1 and all the other pages must be printed from Tray 2.
- Different printers are defined in the network.
Solution 1: Using the properties PaperSourceFirstPage and PaperSourceOtherPages.
If the printer with trays is set as default everything is printed from the right tray.
If another printer is set as default and the printer with trays is selected (in the printer dialog) all pages are printed only from the default tray.
My conclusion: Using the above properties is only working ok if the printer with trays is set as default?
Solution 2: Using the command CurrReport.PAPERSOURCE in the OnAfterGetRecord trigger.
It is not necessary now to set the printer as default but it's not always working ok if using different body sections with 1 dataitem. F.e. Body 1 and 2 are printed on page 1 and body 3 is printed at page 2. Putting the command CurrReport.PAPERSOURCE in the OnPreSection is not working.
My conclusion: The problem from solution 1 is solved but the tray selection is not working properly because of the different body sections.
I hope it is a clear explanation.
Are my conclusions ok and is there a solutions for this problem?
Thanks in advance.
0
Comments
-
This does not work at all in NAV 2009 for RDLC reports, so your options are:
1. Stick to the Classic report, if NAV 2009 is a requirement.
or
2. Upgrade to NAV 2013, where this is supported in RDLC reports.
/Claus LundstrømClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)0 -
I am working with a classic report.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions