TerSpoolEnd
End a multi-document print job.
static bool TerSpoolEnd(name)
String name; | The name of the print job. The print-job appears with this name in the printer queue. |
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 'gr' within the StrPrint structure must be set to null.
Return Value: This function returns TRUE when successful.
Example:
Tern.TerSpoolBegin("MyPrintJob") // begin the print job
Tern.TerMergePrint(...) // print the first document
Tern.TerMergePrint(...) // print the second document
Tern.TerMergePrint(...) // print the third document
Tern.TerSpoolEnd() // end the print job