Mcro - Define Macro - Kyocera DP-1800 Command Reference Manual

Prescribe commands command reference manual rev 4.8
Hide thumbs Also See for DP-1800:
Table of Contents

Advertisement

PRESCRIBE Command Reference
MCRO —
Format
Parameters
name:
dummy-sign:
comment:
Function
160
define MaCRO
MCRO name[ dummy-sign[, comment]];
character string starting with a letter
any character (default: % preceded by a space)
any character string
The MCRO command assigns a name to the sequence of PRESCRIBE commands that
follows, up to the ENDM (end macro) command. Thereafter, the entire sequence of
commands can be executed by specifying the assigned name in a single CALL or AMCR
(automatic macro) command.
The name can be any length but only the first four characters count. The rest will be
ignored. The distinction between upper and lowercase letters is also ignored. For
example, the following macro names are all the same:
ABCD
abcd
ABCDE
Abcdxyz
The name must start with a letter, but the other characters can include digits and special
symbols such as hyphens. For example, F-1 and GRY2 are valid macro names.
dummy-sign (normally the percent sign) indicates dummy parameters in the body of the
macro. Dummy parameters are given by writing the dummy sign followed by a number:
%1 for the first dummy parameter, %2 for the second dummy parameter, and so on, up to
a maximum of 19 dummy parameters. The same dummy parameter can be used any
number of times. Values are assigned to dummy parameters when the macro is invoked
by the CALL command.
If a macro with the same name has already been defined, the new definition is ignored.
To redefine a macro, you must first delete the old definition with the DELM (delete
macro) or DAM (delete all macros) command, or by switching power off.
See the Technical Reference manual for information on the limitations about the usage of
macros.
The PCL5E command language, available in the mode 6 emulation, enables users to
record HPGL/2 macros inside of HPGL/2 commands.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dp-3600Dp-2800Fs c5015nFs c5020nFs c5030nFs-1010n ... Show all

Table of Contents