Home > PHP > Function > PS > ps_get_buffer()

ps_get_buffer()

ps_get_buffer - Fetches the full buffer containig the generated PS data

Syntax

string ps_get_buffer (resource $psdoc)

Arguments

  • psdoc - Resource identifier of the postscript file as returned by ps_new().

Description

This function is not implemented yet. It will always return an empty string. The idea for a later implementation is to write the contents of the postscript file into an internal buffer if in memory creation is requested, and retrieve the buffer content with this function. Currently, documents created in memory are send to the browser without buffering.

Version

PHP PECL ps >= 1.1.0

Return value