beautypg.com

Xerox 4213 User Manual

Page 221

background image

LJ SERIES 2D EMULATION

An automatic-overlay macro is the final operation in printing a
page. Before the macro is executed, an overlay print
environment replaces the current modified print
environment. After execution of the macro, the former print
environment is restored.

Macros can be nested only two levels deep.

The only control operations that may be used within a macro
are 3 (Call) and 2 (Execute).

Table 3-15.

Macro control functions

#

Function

0

Start macro definition (last ID specified)

1

Stop macro definition

2

Execute macro (last ID specified)

3

Call macro (last ID specified)

4

Enable auto-overlay macro (last ID
specified)

5

Stop auto-overlay

6

Delete all macros

7

Delete all temporary macros

8

Delete macro (last ID specified)

9

Make macro temporary (last ID specified)

10

Make macro permanent (last ID specified)

Example of a macro

The following example demonstrates how to use the Macro
Control and Macro ID commands to create and execute a macro
that downloads a font to the printer and prints a letterhead.

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

3-61