<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ps.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.ps-end-page.php',
    1 => 'ps_end_page',
    2 => 'End a page',
  ),
  'up' => 
  array (
    0 => 'ref.ps.php',
    1 => 'PS Functions',
  ),
  'prev' => 
  array (
    0 => 'function.ps-delete.php',
    1 => 'ps_delete',
  ),
  'next' => 
  array (
    0 => 'function.ps-end-pattern.php',
    1 => 'ps_end_pattern',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ps/functions/ps-end-page.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ps-end-page" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_end_page</h1>
  <p class="verinfo">(PECL ps &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ps_end_page</span> &mdash; <span class="dc-title">End a page</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-end-page-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ps_end_page</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$psdoc</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Ends a page which was started with <span class="function"><a href="function.ps-begin-page.php" class="function">ps_begin_page()</a></span>.
   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.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-end-page-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">psdoc</code></dt>
     <dd>
      <p class="para">
       Resource identifier of the postscript file
       as returned by <span class="function"><a href="function.ps-new.php" class="function">ps_new()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-end-page-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-end-page-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ps-begin-page.php" class="function" rel="rdfs-seeAlso">ps_begin_page()</a> - Start a new page</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>