
Printing a report without displaying it
Hello Rune,
I've been able to print a report with this code:
CR.ReportFileName = "c:\YourReport.rpt"
CR.Destination = crptToPrinter
CR.PrinterName = Default
CR.PrintReport
where CR is the name given to my Crystal Report Control
Bob Holmes
Quote:
> Hello.
> I am trying to make an application that will print a Crystal Reports
report
> without displaying it. I tried to add a Crystal Report Viewer with the
> Visible flag set to false, but that did not help.
> Do anyone have a suggestion to how this can be done?
> Thanks in advance!
> Rune Grimstad