PS_begin_template -- Starts a new template
int PS_begin_template(PSDoc *psdoc, float width, float height)
Starts a new template which must be ended by
PS_end_template(3). Templates are similar to
macros which can be placed on a page like images. Within a template one
can call any drawing function. Once a template has been ended by
PS_end_template(3) it can be placed on a page
PS_place_image(3). Templates are commonly
used for repeating objects like page headers in order to minimize
the document size.
If image reuse is not turned off (since version 0.4.5 of pslib
it is always turned on),
may also be called within a template in order to include eps or
Returns an id for referencing the template.