PHP : Function Reference : ClibPDF Functions [deprecated] : cpdf_global_set_document_limits
mfloryan
As cpdf_open in PHP does not support changing PDF document limits unlike the original function in CpdfLib you have to use this function to create big PDF files. Default maximum number of pages in your PDF file is 100. Just be aware that if you use this function with wrong arguments you might get the segmentation fault error. Best is to use the first parameter to set the desired number of pages and leave default for other (by setting their value to -1).
|