Home > PHP > Function > PS > ps_end_page()

ps_end_page()

ps_end_page - End a page

Syntax

bool ps_end_page (resource $psdoc)

Arguments

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

Description

Ends a page which was started with ps_begin_page(). Ending a page will leave the current drawing context, which e.g. requires to reload fonts if they were loading within the page, and to set many other drawing parameters like the line width, or color..

Version

PHP PECL ps >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.