Delphi IDE (89)
Windows with Delphi (280)
About this site
Links to us
New related comments
Number of comments in the last 48 hours
Copy the current record of a dataset
1 new comments
Print a selection on the non-default printer with QuickReport
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Several people have experienced problems with printing a QuickReport to a non-default printer.
Another issue is printing of selected pages.
QuSoft saw this and added a function PrinterSetup() which works properly with their model (other than my own TPrintDialog instances).
The following code shows how to print the current page or selected pages.
You don't like the formatting? Check out SourceCoder then!
theReport : TQuickRep;
with theReport do
PrinterSettings.FirstPage := theReport.PageNumber;
PrinterSettings.LastPage := theReport.PageNumber;