So there is no reason to use the CRViewer.
VB Code:
Dim objReport as CRAXDRT.Report Set objReport = <CrystalAppObject>.OpenReport(PathToReport) 'Set any parameter fields objReport.ReadRecords objReport.PrintOut False
objReport.PrinterSetup 0 - shows a dialog that allows the user to select a printer.
As far as I know the report is always printed to the default printer.
There is another method called PrinterSelect or is it SelectPrinter that allows you to set the printer in code without a dialog box.




Reply With Quote