PHP. Руководство по PHP. 2005
cpdf_save_to_file
cpdf_save_to_file
Description
bool cpdf_save_to_file (int pdf_document, string filename)The cpdf_save_to_file() function outputs the pdf document into a file if it has been created in memory. Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
This function is not needed if the pdf document has been open by specifying a filename as a parameter of cpdf_open().
See also cpdf_output_buffer() and cpdf_open().
cpdf_rotate
cpdf_save