Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Ranges
Message
 
To
29/01/2007 03:57:27
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01189978
Message ID:
01192689
Views:
23
Are you trying to exclude page(s) after they have been previewed?


>Hi All,
>
>How can I create a multirange report output to printer?
>
>What I like to do
>I provide a click interface to (de)select a page or group of pages (preview container - this is the simple part). This will give a mixture of single pages and groups of pages to print.
>I know how to dispatch the selection from preview to listener.
>
>My problem is that I have no idea how to suppress single pages from output.
>
>The event "IncludePageInOutput" that allows to in/exclude a single page will not run after the preview.
>The help gives an example for the "OnPreviewClose" event that uses COMMANDCLAUSES.PrintRange* properties.
>This one is fine as long as I print to my desktop printer. If I redirect the output to the department printer or to PDF I see that every DODEFAULT(.T.) in OnPreviewClose creates a new job to the printer. This will lend to more than one PDF files what is not the result I need.
>
>What solution do you see for that?
>
>TIA
>Agnes
Mathias Banda

Time is longer than a rope.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform