Report Viewer Button set Printer Name programmatically
Can we set the printer name automatically when user click on the Report Viewer button so that the report can print automatically without choosing the printer.
The printer name was set in my program, so I need to pass in the parameter when click on the Print button.
Re: Report Viewer Button set Printer Name programmatically
You're going to have to make use of the Crystal Report ( assuming of course you're talking about CR reports instead of MS Reports ) object's PrintOptions.PrinterName property