The IncludePageInOutput() method doesn't add pages to any list but rather tells if the page passed as parameter should be outputed. You should overwrite that method with your own code whicl will test passed page # against PagesToPrint array. See sample code in the help for that method.
>What I am trying to do is setup my own preview container, with zoom, etc.
>One of the needs is to print a particular page, range of pages etc. (Some of
>the reports are 60-100 pages, so they may not want to print all of the
>pages.)
>
>I have a preview form with an array property called PagesToPrint. I populate
>this array with the pages the user selected. Then I called the
>IncludePageInOutput method with each page.
>
>I tell the OnPreviewClose .t. so that it will print when the preview window
>closes. I still get all the pages in the reort.
>
--sb--