Macros - Star Micronics 4111 Applications Manual

Star micronics laser printer applications manual
Table of Contents

Advertisement

4
M
4
U
m
There's a great shortcut that simplifies the task of sending commands to your
LaserPrinter 4111: u se macros. A
macro is
a single control code, which you
can define yourself, that does the work of a whole long series of printer
'commands.Any command can go into a macro.
Putting macros together to automatically repeat sequences of tasks is like
using a real programming language. Your Star Micronics dealer may know
of some pre-written macros already available for the Star LaserPrinter 4111.
You'll find macros especially handy for creating letterheads and business
forms, and also for setting tabs, subscripts and superscripts.
Your printer can store up to
32
macros without the optional RAM expansion.
To Imanageprinter memory you can make a macro either temporary (it
disappears when you reset the printer) or permanent (it disappears only when
you turn off the printer).
You assign each macro an ID number when you first define it. Use this
Specify Macro ID command to specify (in place of n) the ID number of the
macro to which you wish to refer:
<ESC> &f HY
Por example say you want to delete a macro numbered 80. You would first
select that macro with the command <ESC> &f 80Y. Then you would delete
it with the Macro Control command <ESC> &f 8X as described below.
4
M
C
The Macro Control command performs several jobs for you, such as
defining, running and deleting macros. To manage macros you send the
following command:
<ESC> &f n X
.
For n you enter a number from O(zero) to 10to specify what macro control
function you want to perform. These functions are described in the following
table:
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Laserprinter 4iii

Table of Contents