Print 2 reports to same printer
Hi
I have two reports that I print consecutive. I want the printdialog to
only show for the first report. If I select an other than my default
printer for the first report, the second report goes to my default
printer.
Is it possible to let the second report go to the same printer as the
first one, without showing the extra printdialog?
Using BDS2006, RB10.06
Arno
--
I have two reports that I print consecutive. I want the printdialog to
only show for the first report. If I select an other than my default
printer for the first report, the second report goes to my default
printer.
Is it possible to let the second report go to the same printer as the
first one, without showing the extra printdialog?
Using BDS2006, RB10.06
Arno
--
This discussion has been closed.
Comments
1. After the first report prints, you could assign the PrinterSetup to the
second report and print it with the ShowPrintDialog property set to False.
2. Another option would be to print both reports in the same print job
using the technique used in demo 123 located in the \RBuilder\Demos\1.
Reports\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks Nico
--
Hi Nico
I used the second approach, since the first one still printed the
second report to my default printer.
This works fine, except for one problem. I have a vtPageSetDesc
systemvariable on my report. On the first page this says
page 1 of 1, the second page says page 2 of 2 etc. Any way to solve
this?
Arno
--
Be sure your report's PassSetting property is set to psTwoPass.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Duh, sometimes I feel really stupid. Thanks again.
--