I use Fastreport 4. I need to print directly to the printer without showing Print Dialog. I've unchecked the ShowDialog in the Print Options, but it keep showing a print dialog. Any help would be very appreciated.
To display the Print dialog box, click (Down arrow) of the Print button or the Start Printing button in the Preview screen, and select Check Settings and Print....
The Print dialog box lets the user select options for a particular print job. For example, the user can specify the printer to use, the range of pages to print, and the number of copies.
The Print dialog box appears when you click the Print button or select File > Print from either the Design tab or the Address Book tab. Depending on the area of DAZzle that you access the Print dialog box from, the Print dialog box displays different tabs: Postage tab: View or set postage and package settings.
You should set it after loading report.
Report.LoadFromFile('filename');
Report.PrepareReport;
Report.PrintOptions.ShowDialog := False;
Report.Print;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With