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.
OffThere is no place like [::1]