Nav2013R2 Print report from different trays

cesabocesabo Member Posts: 20
edited 2015-05-14 in NAV Three Tier
Hello everyone,

I'm trying to print report from 2 printer trays.
Example: I have report with 10 pages, i want the first 3 sheets to be printet from Tray 1, the rest 7 pages to be printed from Tray2.

I found alot of topics in the internet with CurrReport.PAPERSOURCE(TrayNumber), but in version 2013R2 that function is "Not supported in Microsoft Dynamics NAV 2013 R2 reports".

So i found a options in the report named PaperSourceFirstPage , PaperSourceDefaultPage , PaperSourceLastPage but coudnt find how they are working and have no idea if they could be flexible with C/AL Code.

Here is explained the properties for those 3 options and every option to what number tray refers https://msdn.microsoft.com/en-us/library/dd354944.aspx


Is anyone try that new future ?

Best Regards,
Tsvetelin

Comments

  • cesabocesabo Member Posts: 20
    So, i have progress here. I set the printer as my default, and have success printing report from both Trays using the propertys PaperSourceFirstPage, PaperSourceDefaultPage, PaperSourceLastPage.

    Now i'm looking how to configure those properties with C/AL code. Is there anyway i can configure them with some kinda function like CurrReport.PAPERSOURCE() ?

    My trays are using propertys "Lower" and "Manual", those options in 2009 works with functions CurrReport.PAPERSOURCE(2) and CurrReport.PAPERSOURCE(4), but in 2013 they does not and all pages came from the Default Tray(Lower).
Sign In or Register to comment.