TerSpoolEnd
End a multi-document print job.
BOOL TerSpoolEnd()
Description: This method together with the TerSpoolBegin method is used to combine multiple calls to the TerMergePrint method into a single print job. When calling the TerMergePrint method, the member variable hDC within the StrPrint structure must be set to NULL.
Return Value: This function returns TRUE when successful.
Comments: This function is not available as an ActiveX control method. It must be used as a DLL function.
Example:
TerSpoolBegin("MyPrintJob") // begin the print job
TerMergePrint(...) // print the first document
TerMergePrint(...) // print the second document
TerMergePrint(...) // print the third document
TerSpoolEnd() // end the print job