
I | Gem/n/ User’s Manual |
|
MACRO-COMMANDS
The Gemini’s macro command capability allows you to group printer commands together and execute them with a single com- mand. Now, this might not appear very useful at first glance, but _ some of you just might be scheming on ways to tame a wayward spreadsheet program or to get some cooperation from an un- cooperative word processor.
First, we have to define the macro instruction.
CH RS(27)CHR$(43). . . . . . .CH R$(30)
All of the commands you wish to group together in a macro replace the . . . . . . . . ‘s. You can use up to 16 characters to define your macro. For an example, we will define a macro to set our printer to emphasized and
ESC E
and to define
ESCWl
After we have defined the macro, we only have to issue the select macro code to execute all the instructions in the macro. This code is
CH R$(27) CH R$(33)
720