PECL ps >= 1.2.0
ps_end_template - End a template
ps_end_template( resource$psdoc ): bool
Ends a template which was started with ps_begin_template. Once a template has been ended, it can be used like an image.
Resource identifier of the postscript file as returned by ps_new.
Returns true on success or false on failure.