I can not get background printing to work
Using Delphi 7, I have a report which always goes to the same printer, I
have all of the data access components on the same form as the report
(using ADO datasets with ADO connections). code snippet:
ppReport.BackgroundPrintSettings.enabled := true;
ppReport.BackgroundPrintSettings.Active := true;
ppReport.Print;
The program runs but there is NO output.
if I comment out the 1st 2 lines, the report prints fine to the printer
specified in the printersetup.printername property.
Thanks
Bruce Lomasky
have all of the data access components on the same form as the report
(using ADO datasets with ADO connections). code snippet:
ppReport.BackgroundPrintSettings.enabled := true;
ppReport.BackgroundPrintSettings.Active := true;
ppReport.Print;
The program runs but there is NO output.
if I comment out the 1st 2 lines, the report prints fine to the printer
specified in the printersetup.printername property.
Thanks
Bruce Lomasky
This discussion has been closed.
Comments
Are you able to reproduce this behavior using any of our demo projects? If
so, please let me know the exact steps you took to create the problem. If
not, please send a small example, perhaps using the Northwinds database,
demonstrating the problem in .zip format to support@digital-metaphors.com
and we'll work on a solution for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com