pdf_open_file Opens a new pdf object Description boolpdf_open_file resourcepdfdoc stringfilename Create a new PDF file using the supplied file name. If filename is empty the PDF document will be generated in memory instead of on file. The result must be fetched by the client with the pdf_get_buffer function. Parameter filename was optional before PHP 5. &return.success; The following example shows how to create a pdf document in memory and how to output it correctly. Creating a PDF document in memory ]]>