Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ps_deleteps_end_pattern>
^PS FunctionsLast updated: Mon, 26 Oct 2026

ps_end_page

(PECL ps >= 1.1.0)

ps_end_page — End a page

Description

function ps_end_page(resource $psdoc): bool

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.

Parameters

psdoc

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

Return Values

Returns true on success or false on failure.

See Also


<ps_deleteps_end_pattern>
^PS FunctionsLast updated: Mon, 26 Oct 2026