(PHP 4, PHP 5 <= 5.0.5)
cpdf_finalize — Ends document
Ends the PDF document.
You still have to call cpdf_close().
The document handle, returned by cpdf_open().
Returns TRUE on success or FALSE on failure.