Welcome to FoxLearn
In this tutorial, I'll show you how to print crystal report without Report Viewer in c#
To play the demo, you can create a new windows forms application project
Next, Drag a button control from the visual studio toolbox to your form
Right click on your project, then add a new crystal report to your project
You can drag a text object from the crystal report toolbox to your report, then enter a text
Finally, Add a click event handler to the Print button allows you to print the crystal report document
You can use the PrintDialog class to display the print dialog that allows you to select the printer name
You can use the ReportDocument class to help you print the crystal report
If you don't want to show the print dialog box
You can set printer name for the crystal report document, then call the PrintToPrinter method to print the crystal report document to the printer.
You should set the crystal report to always copy to the output directory
Thank you for watching this video and don't forget to subscribe to my channel