9-Transact Template Language Epic Edge™ OEM Integration Manual
100-14444 Rev B August 2018 Page 137
Template
• A template is a special type of region that can include several other predefined
regions.
• Templates can also contain printer control codes in addition to region definitions.
• A template typically contains all of the regions and commands required to print a
complete ticket.
• Since templates are also regions, assigned ID numbers cannot be the same as
those used to identify simple regions.
• Each region included within a template also has an associated data buffer. Since
a template can be composed of multiple regions, each data record sent from the
host must include a data tag that identifies the data buffer to be used. The data
buffer associated with each region is assigned during template definition.
• Unlike other protocols which require template data to be sent in a specific order,
the use of data tags allows ticket data to be sent in any order.
• A template is printed by sending a series of data records followed by the Execute
Region/Template command.