The cpdf_save_to_file() function outputs the pdf document into a file if it has been created in memory.
The cpdf_save_to_file() function outputs the pdf document into a file if it has been created in memory.