(PHP 3>= 3.0.9, PHP 4 , PHP 5)

cpdf_output_buffer -- Outputs the pdf document in memory buffer


bool cpdf_output_buffer ( int pdf_document )

The cpdf_output_buffer() function outputs the pdf document to stdout. The document has to be created in memory which is the case if cpdf_open() has been called with no filename parameter. Returns TRUE on success or FALSE on failure.

See also cpdf_open().