PHP. Руководство по PHP. 2005
pdf_open_file
pdf_open_file
Description
bool pdf_open_file (resource pdfdoc, string filename)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 is optional before PHP 4.3.5 or
with PDFlib less than 5.
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
The following example shows how to create a pdf document in memory
and how to output it correctly.
pdf_open_ccitt
pdf_open_gif
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.