Question about Crystal Report in vb.net


R

Ray

Dear all,
Now, I know how to choose printer and print the crystal report by using
ReportDocument without previewing. However, if there is any method for the
user to choose the printer and print the crystal report directly without
previewing the report.
Thanks a lot,
Ray
 
Ad

Advertisements

J

Jorge

Hi Ray

crReportDocument.PrintOptions.PrinterName = "YourPrinter"
crReportDocument.PrintToPrinter(1, True, 1, 1)

Kind Regards
Jorge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top