PrintEnd() Method callback

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > Callback Methods >

PrintEnd() Method callback

Previous pageReturn to chapter overviewNext page

Purpose

This callback method is invoked upon completion of the printing process.

Syntax

<oReport>:PrintEnd(oPtrDevice)

Arguments

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

Return Values

The appropriate return values are:

 

PRINT_OK        Printing terminated successfully

PRINT_ERROR        An error was encountered

Description

This callback method is called if it exists as a method of the report object.  The report is specified in the <oReport> parameter of the PtrDevice:Init.  This is the last callback method called during a print job and is where clean-up should be performed.