Macros

When a macro ID is specified for which no macro has been defined, the macro invocation, macro deletion, and make macro permanent or temporary commands are ignored.

The macro enabled for auto macro overlay is executed on each page, until the macro is disabled or deleted, a reset occurs (“ECE” “UEL” or control panel), or the page length, page size or orientation is changed.

When the modified print environment is restored (upon exiting a called or overlaid macro), if the page length, page size, or the orientation has changed, or the primary or secondary font has been deleted, the following occurs:

1If the original page length or page size is different than the current page length and page size, the current page is closed and printed, the page length and page size are changed to their original value, and the cursor is positioned at the left edge of the logical page at the top margin on the following page.

2If the primary or secondary font is deleted, a new primary or secondary font is automatically selected from the remaining fonts using the current font characteristics.

HP-GL/2 is supported within a macro on some printers (refer to the “PCL Feature Support Matrix” in Chapter 1 of the PCL 5 Comparison Guide. HP-GL/2 implementation within macros matches that of PCL.

Macro problems can often be avoided by first ensuring that the data formats outside the macro environment.

24-8Programming Hints

EN

Page 708
Image 708
HP 5961-0509 manual Macros, 24-8Programming Hints