PyCDC.EndDoc

EndDoc()

Finishes spooling the document and starts printing it