>>How to let users select printer, printer setting, paper setting when preview/print report.
>Are you using the RDC to do your integration?
Yes, this is my code (learn from article. :) ).
=SYS(2333,1)
THIS.Caption = mTitle
THIS.oCrystalReports = CREATEOBJECT('CrystalRuntime.Application')
THIS.oReport = CREATEOBJECT('CrystalRuntime.Report')
THIS.oReport = THIS.oCrystalReports.OpenReport(lReport)
THIS.addObject('oleCRViewer','oleControl','crViewer.crViewer')
THIS.resize
THIS.oleCRViewer.ReportSource = THISFORM.oReport
THIS.oleCRViewer.ViewReport()
So, how can I bring up the printer setting dialog box as what I do in VFP :
REPORT FORMAT abc TO PRINTER PROMPT PREVIEW ?
TIA.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only