Hi,
We are planning to upgrade Crystal Report XI (v11) VB6 to CR 2011 (v14) C# .net.
During our POC we find it difficult to set the printer tray using windows Print Dialog box in C# .net.
In Crystal Runtime XI we use the following command in VB6 to launch Pagesetup dialog
- oRpt.PrinterSetup (hWnd)
which takes care of setting the Paper size, orientation, margins and Paper Source for the report object and prints in the appropriate printer tray.
Could you please help us / guide in CR2011 to use the same functionality of Pagesetup and esp. setting the printer tray.
We tweaked C# and successful only in setting the Paper size and Orientation from this windows Pagesetup dialog to the report object but not the PaperSource, since the Papersource data type of PageDialog and Papersource datatype of CrystalDecisions doesnot match. Please help.
Thanks
Suresh