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
/Soren
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" />
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....Thanks
Comments
CurrReport.PAPERSOURCE(PaperBinNo [, PhysicalPage])
PaperBinNo: tray number
PhysicalPage: page number
/Soren
Soren
http://gotcal.com
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.
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" />