Printing a report

Top  Previous  Next

In most cases a report will be printed from the preview window, but to print a report manually use the “TfrxReport.Print” method, for example:

 

frxReport1.LoadFromFile(...);

frxReport1.PrepareReport;

frxReport1.Print;

 

When “Print” is called the Printer dialogue is opened, in which the printing parameters can be set. The Printer dialogue can be disabled and the printing parameters set using the “TfrxReport.PrintOptions” property.