Re: Send Printer Name CR 11
Ideas, thoughts suggestions? :)
Thanks everyone!
Re: Send Printer Name CR 11
Doesn't anyone rtfm anymore.
The documentation for the PrintToPrinter method indicates the report is sent to the printer specified in the PrintOptions.PrinterName property. So simply
Code:
Dim reportPath As String = "c:\report6.rpt"
crystalreport = New ReportDocument()
crystalreport.Load(reportPath)
crystalreport.PrintOptions.PrinterName = Your Printer Name
crystalreport.PrintToPrinter(1, False, 1, 99)