Specifications
Confidential
EPSON
TITLE
SHEET
REVISION
NO.
SHEET
NEXT
E
DM-D110
Specification
(STANDARD)
53 52
US :
[Name] Start/end macro definition
[Format] ASCII US :
Hex 1F 3A
Decimal 31 58
[Description] Starts or ends a macro definition.
[Notes] • Up to 80 bytes can be defined for macro processing (one byte per character).
• Macro definition processing starts with the first
US :
command and ends with the
second
US :
command.
• Receipt of either of the two types of data shown below is regarded as a macro
definition error. Macro definition processing is stopped, and any following data is
processed as normal data. At this time, the macro remains undefined.
1) The
US ^
command is received during a macro processing definition.
2) A macro processing definition exceeds 80 bytes (except for the
US :
command).
• To delete a macro definition, send a
US :
command just after
US :
.
[Reference]
US ^
[Example]
PRINT#1,CHR$(&H1F);CHR$(&H3A); ➀
PRINT#1,CHR$(&HC); ➁
PRINT#1,CHR$(&H1F);CHR$(&H45);CHR$(0); ➂
PRINT#1,” Execution MACRO !!”; ➃
PRINT#1,CHR$(&H1F);CHR$(&H45);CHR$(10); ➄
PRINT#1,CHR$(&H1F);CHR$(&H3A);
Figure 5.4.12 Example Macro Definition Processing Program
• ➀ is the starting command and is the ending command of a macro definition.
• The 26-byte data from ➁ to ➄ is stored in the macro definition range. When the display
receives the macro execution command, the defined data is in processed order. (Refer
to
US ^
.)
• ➁ is a screen clear command. (Refer to
CLR
.)
• ➂ and ➄ are blinking commands. (Refer to
US E
.)