NTPCancel ( <ReportHandle> ) -> <ErrorCode>
Description
Abort the transfer of field contents from Lotus Notes to NotesToPaper. This command closes and then deletes the spoolfile which was created by NTPInit. It will not be possible to perform any further processing of the data and/or report.
Note: Calling the NTPCancel command restores the report handle to "no longer valid", i.e. commands can no longer be called up with this <ReportHandle>!
Declaration for Lotus Script
Declare Function NTPCancel Lib "NTP.DLL" ( ByVal ReportHandle As Long ) As Long
Parameter
<ReportHandle> (LONG)
Report handle, that was returned by NTPInit or NTPInitFromDatabase when called.
Return value
<ErrorCode> (LONG)
Number of the error encountered (0 = no error)