Strange behaviour in Report.PrintToDevice vs. Report.Print*
Hi,
i have a very strange behaviour whcih i can not explain after several
hours of debugging.
There is a report with 2 pages.
We setup report..Printer.PrinterSetup.Copies to a defined number i
When using report.printtodevice the result is a single report with two
pages
When using any ohter method, such as report.print, the
printersetupdialog appears while displaying the correct numbers of
copies, but printig results in
- one report containing only the 1 pages from the source
- i-times a report containg i-copies of the pages of the source
any idea what is happening?
i have a very strange behaviour whcih i can not explain after several
hours of debugging.
There is a report with 2 pages.
We setup report..Printer.PrinterSetup.Copies to a defined number i
When using report.printtodevice the result is a single report with two
pages
When using any ohter method, such as report.print, the
printersetupdialog appears while displaying the correct numbers of
copies, but printig results in
- one report containing only the 1 pages from the source
- i-times a report containg i-copies of the pages of the source
any idea what is happening?
This discussion has been closed.
Comments
1. When calling PrintToDevices, each device is created and setup by the
developer. For instance, if you would like multiple copies, you need to
alter the PrinterDevice.Printer.PrinterSetup.Copies property.
2. When calling Report.Print, the devices are created and setup
internally. Be sure to alter the Report.PrinterSetup property, not the
Report.Printer.PrinterSetup.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
:-(
Nico Cizik (Digital Metaphors) benutzte seine Tastatur und gab ein :