Macro Control

The macro control command provides mechanisms for definition, invocation, and deletion of macros.

EC & f # X

 

 

Table 12-3

 

 

 

 

 

 

 

# =

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 macro for automatic overlay

 

 

 

 

(last ID specified)

 

 

 

 

 

 

 

 

5

- Disable automatic 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)

 

 

 

 

 

 

 

 

 

Notes

 

A macro may call or execute another macro, which in turn may call or

 

 

execute another macro; two levels of “nesting” are allowed.

Other than call and execute, no macro control operations may occur within a macro.

A printer reset command (ECE or UEL) is not allowed in a macro.

HP-GL/2 commands are not supported within macros on all

HP LaserJet printers. Refer to the “PCL Feature Support Matrix” in Chapter 1 of the &cguide; for specifics. HP-GL/2 commands as well as the PCL command “Enter HP-GL/2 mode” ( EC%#B) and the PCL picture frame directives are not recommended within a macro.

PCL macro control commands are not allowed while in HP-GL/2 context.

EN

Macro Control 12-7

Page 263
Image 263
HP 5961-0509 manual Macro Control, Execute another macro two levels of nesting are allowed