Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Print selected pages

edited July 2001 in General
I use the standard preview methode.
If I got a report with 16 pages, and I just want to print page 5 thru 6 how
do I do this ?
In the preview I see the 16 pages, I want in the preview indicate that I
want print 5 thru 6.

Lee

Comments

  • edited July 2001
    Demo #124 in the installed main reports demo project shows how to print a
    selected number of pages.

    look in the code for demo 124 and the Report.BeforePrint event:

    {print pages 1 and 30 }
    ppTextToPageList('1,30', Report.PrinterDevice.PageList, True);

    {print pages 1 thru 3 }
    ppTextToPageList('1-3', Report.PrinterDevice.PageList, True);


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.