2 diff. printer trays in the same report

stampe
Member Posts: 48
Does anyone have a solution to this problem, the last page in a report should be taken from a different tray
0
Comments
-
For what reason do you want the last page to be printed on a different kind of paper?0
-
Did i miss something in this thread, or what? Why not use the standard functionality in Navision Financials?
CurrReport.PAPERSOURCE(PaperBinNo [, PhysicalPage])
PaperBinNo: tray number
PhysicalPage: page number
/Soren0 -
I don't know a way to let this happen automatically, but the following method should work (However, I didn't try it.)
In the Report's section designer, you add a footer.
In the footer switch to the C/Al edittor.
Here you enter the following code in the OnPreSection():
[variable name].ShowPrinter()
You must declare [variable name] as an OCX of the type 'Microsoft Common Dialog Control, version 6.0'.
This will call a PrintDialog. Here you can specify the Tray by hand.
I hope this works.
Greetings.
0 -
Hmm, you're right. Learn something every day! ...I always thought you could only change the tray for the first page.
Thanks Soren!
The following can be found in the c/side reference guide:
CurrReport.PAPERSOURCE(PaperBinNo [, PhysicalPage])
If you do not specify a page number, the tray change will apply to the current page. The new tray will also apply to subsequent pages until the next tray change occurs.
When you do specify a page number, the tray change will take place after the specified page is printed. Subsequent pages will also use this tray until the next tray change. The tray change can be placed anywhere on a page and still apply to the whole page.
If you specify more than one paper tray selection for a page, the printer uses the last selection.
<img border="0" title="" alt="" src="images/smiles/icon_smile.gif" /> <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" /> <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" /> <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />
0 -
This stuff is very helpful but what I have on my sytem a Kyocera printer and problem I have , I am not able to choose tray within navision all these numbers do not effect my printer. How can I find the necessary number....Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions