EndDocPort


BOOL EndDocPort(
HANDLE   hPort
);

Performs end-of-print-job tasks on the specified port.

hPort

Handle of the port the document was printed on.


The port monitor function EndDocPort should free resources allocated by the previous call to StartDocPort.

EndDocPort is called after all the data in a print job has been passed to your port monitor using WritePort function calls. The EndDocPort function in your port monitor should call the SetJob function to delete the completed job from the queue when printing has been completed on the port.