PrintPageBody() Method callback

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > Callback Methods >

PrintPageBody() Method callback

Previous pageReturn to chapter overviewNext page

Purpose

This callback method is invoked during the printing process to allow the report object to print the body portion of the report.

Syntax

<oReport>:PrintPageBody(oPtrDevice)

Arguments

<oPtrDevice>

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_NOMORE        Indicates there are no more pages to process; printing should terminate after the current page.
PRINT_ERROR        Indicates an error occurred and printing should terminate.

Description

This callback method is the workhorse of a print job and must exist in the report object.  The report object is specified in the <oReport> parameter of the PtrDevice:Init.