(PHP 3 >= 3.0.8, PHP 4, PECL)
The cpdf_finalize() function ends the document. You still have to call cpdf_close(). 如果成功则返回 TRUE,失败则返回 FALSE。
See also cpdf_close().