PS_CLOSE(3) 1 PS_CLOSE(3)
ps_close - Closes a PostScript document
SYNOPSIS
bool ps_close (resource $psdoc)
DESCRIPTION
Closes the PostScript document.
This function writes the trailer of the PostScript document. It also writes the bookmark tree. ps_close(3) does not free any resources,
which is done by ps_delete(3).
This function is also called by ps_delete(3) if it has not been called before.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_open_file(3), ps_delete(3).
PHP Documentation Group PS_CLOSE(3)