9-Transact Template Language Epic Edge™ OEM Integration Manual
Page 156 August 2018 100-14444 Rev B
User Defined Regions
The Epic Edge™ printer supports user defined regions and templates. The user may
define new regions and templates or replace existing regions and templates. Note that
these user defined regions and templates are stored in RAM and must be reloaded after
a power loss. The commands used to define regions and templates are summarized
below.
Name Description
GS M <n> Start/End Definition
GS Q <n> Query Definition
GS O <n> Execute Region/Template
A region is defined by a series of low level printer commands and that not all regions
contain printable data. Each region/template identified by a unique number. Refer to
the Epic Edge™ OEM Integration Manual and Chapter 2 of this manual for a description
of low level control codes and examples of region definitions.
Keep in mind that templates are a simply special type of region and are defined using
the same basic commands.
GS M – Start/End Region/Template Definition
Description
The definition of region/template n starts when this command is received the first time
(during normal operation) and ends when it is received the second time (during the
definition). Up to 255 regions can be defined.
Note: The region//template definition space can contain up to 4096
bytes, which is shared between all the region and templates currently
defined. If the total number of bytes exceeds this value, the excess
data is not stored.
Expression
[GS] M n
1DH 4DH n
<29> <77> n
n = the region/template to define, in the range 1 ≤ n ≤ 255.