How to print a report without previewing it?

Question: How to print a report without previewing it?

Answer:

This way:

1
2
3
4
if frReport1.PrepareReport then
frReport1.PrintPreparedReport(', 1, True, frAll);
// or
frReport1.PrintPreparedReportDlg;