Access Violation Printing
I have a customer who is printing a report and the preview form comes
up fine. They go to print to the printer and get an access
violation. If I sent the report to pd. and print it works fine. They
have tried updating there printer drivers and this did not help.
Other reports in the system work fine, it is just this one that does
this. Any ideas?
up fine. They go to print to the printer and get an access
violation. If I sent the report to pd. and print it works fine. They
have tried updating there printer drivers and this did not help.
Other reports in the system work fine, it is just this one that does
this. Any ideas?
This discussion has been closed.
Comments
reports projects? Can you isolate the problem from one report? If your
report is regenerating for the printer, then make sure you are resetting
your Delphi variables you are using in the report in the Report.BeforePrint
event. You could also set Report.CachePages to true so the report doesn't
regenerate if it doesn't need to.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com