Print Report Pages to Different Trays
Spacejam1976
Member Posts: 8
Hi,
I need to print some pages from a report to different trays of a printer on Nav 2013.
I have tried to set CurrReport.PAPERSOURCE(Number). It always print to the same tray.
I have created the function GetPaperTrayForReport on codeunit 1. It always print to the same tray.
See the printer settings attached.
Do you guys have any ideas how to sort this out?
Cheers
I need to print some pages from a report to different trays of a printer on Nav 2013.
I have tried to set CurrReport.PAPERSOURCE(Number). It always print to the same tray.
I have created the function GetPaperTrayForReport on codeunit 1. It always print to the same tray.
See the printer settings attached.
Do you guys have any ideas how to sort this out?
Cheers
0
Comments
-
From what I've been reading you can only set the tray source for, First Page, Default and Last.
According to documentation:
"In the Report - Properties window, in the PaperSourceFirstPage field, choose the paper source. The list contains 13 standard trays and 16 printer-specific trays. It is based on information in the fin.stx file."
So if it's correct it may work as a numeric sequence of numbers so you would have to set the page from 1 to 29.
And keep this in mind:
"If the printer that is used for this report does not support the specified paper source, then the printer uses the default tray that is specified by the printer driver."
Gathering all this I think you should make some testes with the default page value you are using to see if that might be the problem.
Hope that this information might help you.0 -
Hi
Have you tried installing the driver for the printer twice, then setting the properties on the second one to default to the second tray?
Cheers
Chris"When you eliminate the impossible, whatever remains, however improbable, must be the truth" - Sherlock Holmes
"God and developers are in a constant battle. Developments to make their applications more idiot-proof, and God to produce bigger idiots!"0 -
I have also set the below properties on the report
PaperSourceFirstPage
PaperSourceDefaultPage
PaperSourceLastPage
I have installed a second printer and defaulted the tray to tray 2 - It prints everything on Tray 2
Whichever tray I set as default on printer properties It prints from the default tray.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
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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