9-Transact Template Language Epic Edge™ OEM Integration Manual
100-14444 Rev B August 2018 Page 163
Defining a Template
Below is an example of the commands used to define Template 78, Cashout Voucher.
Note that the template consists of a series of region executions, data buffer assignments
and low level control codes.
Table 7 – Example Template Definition
Setup for Cashout Voucher
[GS]M<78> Begin region/template 78 definition
[GS]O<
Execute Region 1 –
[GS]O<2> [GS]D<1> [CR] Execute Region 2 using data buffer 1 –
[GS]O<3> [GS]D<2> [CR] Execute Region 3 using data buffer 2 –
[GS]O<4> [GS]D<3> [CR] Execute Region 4 using data buffer 3 –
[GS]O<5 [GS]D<4> [CR] Execute Region 5 using data buffer 4 –
[GS]O<
Execute Region 6 – “
”
[GS]O<
Execute Region 7 – “
”
[GS]O<
[GS]D<
[CR] Execute Region 9 using data buffer 5 –
[GS]O<
[GS]D<
[CR] Execute Region 10 using data buffer 6 –
[GS]O<11> [GS]D<7> [CR] Execute Region 11 using data buffer 7 –
[GS]O<12> [GS]D<8> [CR] Execute Region 12 using data buffer 8 –
[GS]O<13> [GS]D<9> [CR] Execute Region 13 using data buffer 9 –
[GS]O<14> [GS]D<10> [CR] Execute Region 14 using data buffer 10 –
[GS]O<
Execute Region 15 – “
”
[GS]O<16> [GS]D<11> [CR] Execute Region 16 using data buffer 11 –
[GS]O<17> [GS]D<12> [CR] Execute Region 17 using data buffer 12 –
[GS]O<18> [GS]D<13> [CR] Execute Region 18 using data buffer 12 –
[FF] Form Feed – Prints Ticket
[GS]C<0> Clear Data Fields
[GS]M<78> End region/template 78 definition