>The CR Viewer (THIS.oleCRViewer.ViewReport()) provide print icon on the toolbar. When user click the print icon, can the user set the setting just before printing? Just like in VFP. REPORT FORMAT abc TO PRINTER PROMPT PREVIEW?
>
>TIA.
You could put some code in the PrintButtonClicked event, then handle the printing yourself. I haven't tested this code, but you could try it:
UseDefault = .F.
This.ReportSource.PrinterSetup()
This.ReportSource.PrintOut(.F.)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer