cancel
Showing results for 
Search instead for 
Did you mean: 

What happened to CRAXDRT.Report.SelectPrinter?

scottpearce
Explorer
0 Kudos

Hi,

I'm moving some code up from vb6 that is based around the old CRADRT COM object. The code used "CRAXDRT.Report.SelectPrinter". This told the report to which printer it should print.

In the new .Net version, I am unable to to figure out how to tell the report object where to print. I have a CrystalDecisions.CrystalReports.Engine.ReportDocument object.

Thanks,

Scott Pearce

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Scott,

Once again use RAS and it's print controller. Search in this forum, top right corner, on PrintOutputController and you'll find complete samples:

rpt.PrintToPrinter(1, false, 0, 0); // if you really want to use the report engine

rptClientDoc.PrintOutputController.PrintReport(rasPROpts); RAS has full control using the Controller.

Thanks again

Don

Answers (0)