Programmer’s reference manual printer file system, Printer file system – Datamax-O'Neil Labelpoint Programmer’s Manual User Manual
Page 61

PROGRAMMER’S REFERENCE MANUAL
Printer File System
Page 57
Printer File System
This chapter describes how to store macros and graphics in the printer file system.
Macros
Commands and variable texts sent to the printer can be stored in the printer's file system
and retrieved on command. Such a sequence of data is called a macro and is equivalent to the
same commands received from the computer. Macros provide a convenient shorthand for long
command sequences, e. g. complex label layouts.
Macros can be loaded, deleted, and executed on command.
Loading a macro
The command to load a macro is:
!L M "
where
of printable characters (except the " character), up to 24 characters, and must be enclosed in
double quotes. If a macro with the same name already exists in the internal memory it will be
deleted and the new macro loaded in its place. Case is not significant in macro names.
The macro load command should be followed by the macro text. Loading is terminated by
the terminate command:
!L
The
!L
command will terminate the macro load. If no macro is being loaded this command
is ignored.
Deleting a macro
To delete a macro, just send the macro load command followed by the terminate command:
!L M “
!L
Executing a macro
The command for executing a macro is
!M "
where
exist, this command is ignored.
Any command can be included in a macro, except the macro execute command (i. e.
nested macros are not allowed).
Auto macro
If a macro with the name AUTO or auto is present in the file system, it will be executed
automatically when the printer is switched on.