Macros - Star Micronics 8111 Applications Manual

Star micronics laserprinter applications manual
Table of Contents

Advertisement

MACROS
Using macros
There's a great shortcut that simplifies the task of sending commands to your
LaserPrinter 8111: use 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 LaserJet III emulation 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 8111.
You'll find macros especially handy for creating letterheads and business
forms, and also for setting tabs, subscripts and superscripts.
Yourprintercan store up to 32 macros without the optional RAM expansion.
To manage printer memory you can make a macro either temporary (it
disappears when you reset the printer) orpermanent (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 n Y
For example say you want to delete a macro numbered 80. You would first
select that macro with the command <ES0 &f 80Y. Then you would delete
it with the Macro Control command <ESc> &f 8X as described below.
Macro Control
The Macro Control command performs several jobs for you, such as
defining, running and deleting macros. To manage macros you send the
following command:
cESC> &f n X
For n you enter a number from 0 (zero) to 10 to specify what macro control
function you want to perform. These functions are described in the following
table:
116

Advertisement

Table of Contents
loading

This manual is also suitable for:

Laserprinter 8iii

Table of Contents