Example Of A Macro - Xerox 4213 Programmer's Reference Manual

Xerox laser printer specification sheet
Hide thumbs Also See for 4213:
Table of Contents

Advertisement

Example of a macro

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE
An automatic-overlay macro is the final operation in printing a
page. Before the macro is executed, an overlay print
environment
replaces
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)
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.
LJ SERIES 2D EMULATION
the
current
modified
print
3-61

Advertisement

Table of Contents
loading

Table of Contents