PrintPreBody() Method callback

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > Callback Methods >

PrintPreBody() Method callback

Previous pageReturn to chapter overviewNext page


This callback method is invoked at the beginning of the printing process to allow the report object to print a title page.





The PtrDevice which has initiated the call to this callback method.

Return Values

The appropriate return values are:


PRINT_OK        All is OK; continue printing.
PRINT_ERROR        Indicates an error occurred and printing should terminate.


This callback method is called if it exists as a method of the report object and if the <lPreBody> parameter of either Print() or PrintPreview() was set to TRUE. The report object is specified in the <oReport> parameter of the PtrDevice:Init.  This method is called once before the main printing loop and is useful for printing title pages.