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

How to filter pages to print???

edited September 2001 in General
Good, late Personal. I am with a doubt.
How does to filter them paginate before printing, using a Dialog of
Printing altered? In other words, the property ShowPrintDiolog is
disabilitada.
Example.:
Rp.PrintPageList(1,10); / / I Printed of the it paginates 1 to it
paginates her/it 10
Rp.PrintToDevices; / / it updates the report
Rp.Print; / / I printed the selection of you paginate


Thank you,
edimar

Comments

  • edited September 2001
    See demo # 124 in the main reports demo project. It shows how to print a
    list of pages. You could launch your own dialog to get the page range from
    the user and set it as in the demo.

    This is the line you are looking for to set hte page list:

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

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



    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    good afternoon, galley.
    I, don't get to filter them you paginate when it orders to print for file
    text.

    How that to solve?



    Thank you,
    edimar

    "Jim Bennett (Digital Metaphors)" gravada:
  • edited September 2001
    The file device class supports setting the page list just as the printer
    device can. You can do something similar to demo 124, which uses the
    Report.PrinterDevice property, but instead change it to use the
    Report.FileDevice property.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.