Use PEClosePrintJob to close the print job. If printing has not yet finished, it continues; if the preview window is open, it stays open. This function is used as a mandatory part of each Custom
BOOL CRPE_API PEClosePrintJob (
short printJob );
Once this function has been called, most other Crystal Report Engine functions except PEOpenPrintJob; PECloseEngine; PEGetVersion; and PELogOnServer, cannot be called.
Declare Function PEClosePrintJob Lib "crpe32.dll" (ByVal printJob _
As Integer) As Integer
function PEClosePrintJob (
printJob: Word
): Bool stdcall;
EXTERN CLOGICAL PEClosePrintJob (CWORD) CRPE.DLL
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |