Print Page | Close Window

Print a Report

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
Printed Date: 28 March 2020 at 8:26pm

Topic: Print a Report
Posted By: DuMa
Subject: Print a Report
Date Posted: 18 June 2019 at 9:29am

I am using the Report Control and I try to print the CXTPReportControl which is embedded in a CXTPReportView. Which calls do I need to get a printout when someone clicks on a printer button for instance.
Actually I thought that calling the PrintReport() function will do the job but I need to fill the CPrintInfo somehow. Then there the events OnPrint() and OnPreparePrinting() for instance. Do I need to call them too?

Can anyone please explain to me what are the correct steps to get a Report Control printout.

Thank you

Print Page | Close Window