Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a particular page/ range of pages
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061313
Message ID:
01061347
Views:
11
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform