Epic 3000
Programmer’s Guide
Programming Codes
100-14362
Rev A
Page 83
Defining Macros
Macros can be defined two ways. The first is by using the begin and end named macro
commands. These commands start the recording process and automatically save the
macro when it is complete. The macro data is not processed, as it is sent to the printer.
Function
Begin named macro record
ASCII
[ESC] [US] b <Name..> <0>
Then send the data to be recorded. The printer does not process the
data. The terminating <0> may be replaced with an & or redefined. See
[ESC] [EM]T<n> or &%UT<n> on page 88.
Function
End name macro record
ASCII
[ESC] [US] e <Name..> <0>
The second way to define macros is to use [ESC] g commands to define
the macro, and then the save macro data command to save the data.
The terminating <0> may be replaced with an & or redefined. See [ESC]
[EM]T<n> or &%UT<n> on page 88.
Function
Start macro record
ASCII
[ESC] g <1>Then send the data to be recorded. (The data is processed
and printed).
Function
Stop macro record
ASCII
[ESC] g <2>Then save the macro.
Function
Save macro data
ASCII
[ESC] [US] m <Name..><0>
Saving User-defined Characters. To save user-defined characters, first
define the character set.
Function
Define user-defined characters
ASCII
[ESC] = <y> <c
1
> <c
2
> [x
1
d
1
… d(y
x
x
1
)] … [xk d
1
… d(y
x
xk)]
Second, save the definition in the nonvolatile flash memory with the
appropriate command.
Save the definition. Note the "Save user-defined characters" command
saves all three character definitions.
Function
Save user-defined characters
ASCII
[ESC] [US] c <Name..> <0>
Third, load the character set or load and run the macro.
To restore the character definitions, issue a load item command with the
name of the character set to be loaded.
The terminating <0> may be replaced with an & or redefined. See [ESC]
[EM]T<n> or &%UT<n> on page 88.
Содержание Epic 3000
Страница 1: ...Epic 3000 Programmer s Guide PN 100 14362 Rev A Dec 2015...
Страница 2: ...Programming Codes Epic 3000 Programmer s Guide Page 2 Rev A 100 14362...
Страница 266: ......