TerSpoolBegin
Begin a multi-document print job.
BOOL TerSpoolBegin(name)
LPBYTE name; | The name of the print job. The print-job appears with this name in the printer queue. |
Description: This method together with the TerSpoolEnd 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