Take a look at demo 124 of the main reports demo for an example of manually sending ReportBuilder a list of pages to be printed. This is the same method used for the Page Range of the Printer Dialog.
It uses the ppTextToPageList routine to resolve the page range entry. Something like the following…
procedure TForm1.ppReportBeforePrint(Sender: TObject); begin
if (Report.PrinterDevice <> nil) then begin Report.PrinterDevice.PageSetting := psPageList;
Comments
Take a look at demo 124 of the main reports demo for an example of manually sending ReportBuilder a list of pages to be printed. This is the same method used for the Page Range of the Printer Dialog.
It uses the ppTextToPageList routine to resolve the page range entry. Something like the following…
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you.