Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Ranges
Message
From
29/01/2007 03:57:27
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report Ranges
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01189978
Message ID:
01189978
Views:
63
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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Next
Reply
Map
View

Click here to load this message in the networking platform